Re: make BuiltinTrancheNames less ugly

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Tristan Partin <tristan(at)neon(dot)tech>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: make BuiltinTrancheNames less ugly
Date: 2024-02-23 09:31:12
Message-ID: 7f638c9c-8a15-4deb-a3a5-c1a445762fcd@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/02/2024 19:01, Tristan Partin wrote:
> On Wed Jan 24, 2024 at 8:09 AM CST, Alvaro Herrera wrote:
>> IMO it would be less ugly to have the origin file lwlocknames.txt be
>> not a text file but a .h with a macro that can be defined by
>> interested parties so that they can extract what they want from the
>> file, like PG_CMDTAG or PG_KEYWORD. Using Perl for this seems dirty...
>
> I really like this idea, and would definitely be more inclined to see
> a solution like this.

+1 to that idea from me too. Seems pretty straightforward.

--
Heikki Linnakangas
Neon (https://neon.tech)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2024-02-23 09:40:35 Re: how to read table options during smgropen()
Previous Message Zhijie Hou (Fujitsu) 2024-02-23 09:30:58 RE: Synchronizing slots from primary to standby