Re: Improve explicit cursor handling in pg_stat_statements

From: Sami Imseih <samimseih(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Improve explicit cursor handling in pg_stat_statements
Date: 2025-04-30 19:43:41
Message-ID: CAA5RZ0v7VVdG-eoKcPjMnL6Dp=2ujPK2qk7Qx5NG_EPqd6naug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I forgot to add the proper tests to the Normalize cursor utility statements.
Reattaching v2.

I also want to add that the decision to not normalize the cursor name in
the FETCH command is because it would not make sense to combine
FETCH commands for various cursors into the same entry.

Regards,

--
Sami Imseih
Amazon Web Services (AWS)

Attachment Content-Type Size
v2-0002-Improve-cursor-handling-in-pg_stat_statements.patch application/octet-stream 6.8 KB
v2-0001-Normalize-cursor-utility-statements.patch application/octet-stream 12.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2025-04-30 19:52:27 Re: add --sequence-data to pg_dumpall
Previous Message Nathan Bossart 2025-04-30 19:22:17 Re: vacuumdb --missing-stats-only and pg_upgrade from PG13