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

From Corey Huinker
Subject Re: Autogenerate some wait events code and documentation
Date
Msg-id CADkLM=eF=Sa1D36vrNAhb5MGhH8HUQ5gHKm2B_OZ1y8kh34k_w@mail.gmail.com
Whole thread Raw
In response to Re: Autogenerate some wait events code and documentation  ("Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>)
Responses Re: Autogenerate some wait events code and documentation
List pgsql-hackers
On Wed, Mar 29, 2023 at 8:51 AM Drouvot, Bertrand <bertranddrouvot.pg@gmail.com> wrote:
Hi,

On 3/29/23 11:44 AM, Drouvot, Bertrand wrote:

>
> Looking forward to your feedback,

Just realized that more polishing was needed.

Done in V2 attached.

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

I think this is good work, but I can't help thinking it would be easier to understand and maintain if we used a template engine like Text::Template, and filled out the template with the variant bits. I'll ask that question in another thread for higher visibility.

 

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Minimal logical decoding on standbys
Next
From: Corey Huinker
Date:
Subject: Thoughts on using Text::Template for our autogenerated code?