Re: Autogenerate some wait events code and documentation
Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
From: "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-05-17T09:10:21Z
Lists: pgsql-hackers
Attachments
- v10-0002-Generating-wait_event_types.h-pgstat_wait_event..patch (text/plain) patch v10-0002
- v10-0001-Introducing-WAIT_EVENT_EXTENSION-and-WAIT_EVENT_.patch (text/plain) patch v10-0001
Hi, On 5/17/23 10:14 AM, Michael Paquier wrote: > 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 :) Sorry did not pay enough attention to it ;-( > +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). Yeap, done in V10 for sgml and the C part too (for consistency). >> 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 Yeah, good point, attaching both here to keep the CF bot happy. Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
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