Re: Autogenerate some wait events code and documentation
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-05-17T08:14:42Z
Lists: pgsql-hackers
On Wed, May 17, 2023 at 08:31:53AM +0200, Drouvot, Bertrand wrote: > Did it that way in V9 attached and the sorting does look like what > we expect now. Yes, the order of the items in the individual tables is fine, but this is still a bit incorrect for the classes? Note that the tables for the LWLock and Lock are still in reverse order :) +foreach $waitclass (sort keys %hashwe) Meaning that you may want to add an extra case-insensitive rule for the sorting on this line for the SGML docs (also the C part, I guess, but we care less). > Agree, V9 does now apply on top of v2-0001-Introducing-WAIT_EVENT_EXTENSION-and-WAIT_EVENT_B.patch > (just shared in [1]). If you don't send both patches in the same message the CF bot is going to complain as v9-0001 is not able to apply independently of the other patch v2-0001 on the other thread (you could do a git apply -2 -v2, for example). -- Michael
Commits
-
Add "ABI_compatibility" regions to wait_event_names.txt
- f98dbdeb51d1 17.0 landed
-
Remove column for wait event names in wait_event_names.txt
- 59cbf60c0f2b 17.0 landed
-
Use more consistent names for wait event objects and types
- 414f6c0fb79a 17.0 landed
-
Add information about line contents on parsing failure of wait_event_names.txt
- aea7fe33fb6a 17.0 landed
-
Remove double quotes from the second column of wait_event_names.txt
- 183a60a628fe 17.0 landed
-
Generate automatically code and documentation related to wait events
- fa88928470b5 17.0 landed
-
Refactor some code related to wait events "BufferPin" and "Extension"
- 2aeaf80e578e 17.0 landed
-
doc: Fix ordering of entries in wait event table for I/O type
- 44e977d7ecb9 16.0 landed