Re: Improve explicit cursor handling in pg_stat_statements

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Sami Imseih <samimseih(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Improve explicit cursor handling in pg_stat_statements
Date: 2025-07-01 23:42:41
Message-ID: aGRycU-fz-iP3t8g@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 30, 2025 at 03:37:08PM +0300, Sami Imseih wrote:
> rebased patch.

There were two extra pg_stat_statements_reset() calls added to
cursors.sql that were not necessary. I have also cut by one the
number of FETCH queries with the numbers, as it does not change the
coverage outcome, tweaked a bit the comments, and the result looked
fine. At the end, applied.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2025-07-01 23:47:03 Re: Historic snapshot doesn't track txns committed in BUILDING_SNAPSHOT state
Previous Message Jacob Champion 2025-07-01 20:42:04 Re: libpq: Process buffered SSL read bytes to support records >8kB on async API