From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove column for wait event names in wait_event_names.txt
Date: Wed, 06 Sep 2023 01:27:34 +0000
Message-ID: <E1qdhKP-002bEg-R0@gemulon.postgresql.org> (raw)
Remove column for wait event names in wait_event_names.txt
This file is now made of two columns, removing the column listing the
user-visible strings used in the system views and the documentation:
- Enum definitions for each class without the prefix "WAIT_EVENT_", so
as this information can be grepped in the code and wait_event_names.txt
at the same time.
- Description in the documentation.
The wait event names are now generated from the enum objects in
CamelCase, with the underscores removed. The data generated for wait
events is consistent with what was produced by 414f6c0fb79a.
This has the advantage to remove WAIT_EVENT_DOCONLY, which was a
placeholder for the wait event types Lock and LWLock as these two only
require the generation of the documentation.
Reviewed-by: Bertrand Drouvot
Discussion: https://postgr.es/m/ZOxVHQwEC/9X/p/z@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/59cbf60c0f2b5723ce4a939077c99bf4e4c433d3
Modified Files
--------------
.../utils/activity/generate-wait_event_types.pl | 40 +-
src/backend/utils/activity/wait_event_names.txt | 502 ++++++++++-----------
2 files changed, 279 insertions(+), 263 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Remove column for wait event names in wait_event_names.txt
In-Reply-To: <E1qdhKP-002bEg-R0@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox