Re: BUG #19520: PANIC when concurrently manipulating stored procedures with pg_stat_statements and track_functions =

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
Cc: Sami Imseih <samimseih(at)gmail(dot)com>, zlh21343(at)163(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org, Andres Freund <andres(at)anarazel(dot)de>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Subject: Re: BUG #19520: PANIC when concurrently manipulating stored procedures with pg_stat_statements and track_functions =
Date: 2026-06-20 07:43:52
Message-ID: ajZEuEjpkzpmfuxn@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Jun 18, 2026 at 02:40:46PM +0900, Michael Paquier wrote:
> On Thu, Jun 18, 2026 at 08:52:49AM +0530, Ayush Tiwari wrote:
>> The v2 patch looks fine to me. Tested it, no PANICs.
>
> The buildfarm has backfired with the ABI compliance check, which has
> made me double-check for some extension code where the API change
> would matter, based on this list:
> https://wiki.postgresql.org/wiki/CustomCumulativeStats

Another thing I have forgotten to mention regarding 850b9218c8e4..
I have tweaked the patch so as we still show the refcount and the
generation in the error message, something that was missed in the
latest version of the patch posted on this thread. This information
is useful for debugging purposes.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Álvaro Herrera 2026-06-20 11:09:59 Re: BUG #19520: PANIC when concurrently manipulating stored procedures with pg_stat_statements and track_functions =
Previous Message Etsuro Fujita 2026-06-19 11:59:39 Re: BUG #19484: Segmentation fault triggered by FDW