From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com> |
Cc: | Álvaro Herrera <alvherre(at)kurilemu(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Fix lwlock.c and wait_event_names.txt discrepancy |
Date: | 2025-07-17 00:50:12 |
Message-ID: | aHhIxCk3rmODC5mX@paquier.xyz |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Jul 16, 2025 at 11:41:09AM +0000, Bertrand Drouvot wrote:
> On Wed, Jul 16, 2025 at 01:33:07PM +0200, Álvaro Herrera wrote:
>> I don't. These names are unlikely to be anywhere other than in the
>> output of queries for any length of time, so if we change them now,
>> nothing will break permanently. I grant that there might be small
>> temporary breakage if somebody is storing wait event samples or similar,
>> but I doubt it'll be a problem to change it. Long-term lack of
>> joinability between pg_stat_activity and pg_wait_events in the 17 branch
>> would likely be a bigger problem.
>
> +1
Thanks. Perhaps I am worrying to much about the profiles taken on
REL_17_STABLE, but after sleeping on it the long-term picture is
better if we are consistent on all the branches, so done down to v17.
Thanks for the report.
> As a way to prevent this to occur we might want to add extra input file(s)
> parameter to generate-wait_event_types.pl (as proposed in [1]).
>
> [1]: https://www.postgresql.org/message-id/flat/aDQdDhcwMHjZRhSV%40ip-10-97-1-34.eu-west-3.compute.internal
That's the second issue so far, so we had better do so.
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Tender Wang | 2025-07-17 00:51:44 | Re: duplicate line in ExecEvalJsonCoercionFinish |
Previous Message | Andres Freund | 2025-07-17 00:48:00 | Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc? |