Re: Autogenerate some wait events code and documentation - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Autogenerate some wait events code and documentation
Date
Msg-id 20230710071136.jiedze443q7o5vsp@alvherre.pgsql
Whole thread Raw
In response to Re: Autogenerate some wait events code and documentation  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Autogenerate some wait events code and documentation
List pgsql-hackers
On 2023-Jul-09, Michael Paquier wrote:

> Patch 0002 introduces a set of simplifications for the format of
> wait_event_names.txt:
> - Removal of the first column for the enums.

I don't like this bit, because it means the .txt file is now ungreppable
as source of the enum name.  Things become mysterious and people have to
track down the event name by reading the the Perl generating script.
It's annoying.  I'd rather have the extra column, even if it means a
little duplicity.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"Siempre hay que alimentar a los dioses, aunque la tierra esté seca" (Orual)



pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: [PATCH] Reuse Workers and Replication Slots during Logical Replication
Next
From: Pavel Stehule
Date:
Subject: Re: Schema variables - new implementation for Postgres 15