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-07-03T07:11:51Z
Lists: pgsql-hackers
On Mon, Jul 03, 2023 at 03:57:42PM +0900, Michael Paquier wrote: > I think that we should add some options to the perl script to be more > selective with the files generated. How about having two options > called --docs and --code to select one or the other, then limit what > gets generated in each path? I guess that it would be cleaner if we > error in the case where both options are defined, and just use some > gotos to redirect to each foreach loop to limit extra indentations in > the script. This would avoid the need to remove the C and H files > from the docs, additionally, which is what the Makefile in doc/ does. > > I have fixed all the issues I've found in v11 attached, except for the > last one (I have added the OUTDIR trick for reference, but that's > incorrect and incomplete). Could you look at this part? Ah. It took me a few extra minutes, but I think that we should set "capture" to "false", no? It looks like meson is getting confused, expecting something in stdout but the new script generates a few files, and does not output anything. That's different from the other doc-related perl scripts. -- 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