Re: Introduce ENDLIST to terminate multiline makefile lists - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Introduce ENDLIST to terminate multiline makefile lists
Date
Msg-id aVHib9IpzvHm0r0e@paquier.xyz
Whole thread Raw
In response to Introduce ENDLIST to terminate multiline makefile lists  (Chao Li <li.evan.chao@gmail.com>)
Responses Re: Introduce ENDLIST to terminate multiline makefile lists
Re: Introduce ENDLIST to terminate multiline makefile lists
List pgsql-hackers
On Mon, Dec 29, 2025 at 09:43:30AM +0800, Chao Li wrote:
> Note that since ENDLIST is defined in Makefile.global.in, this change
> requires rerunning ./configure.
>
> [1] https://postgr.es/m/DF6HDGB559U5.3MPRFCWPONEAE@jeltef.nl

FWIW, I don't see an advantage in this proposal, and it has the
disadvantage of more maintenance if one needs to create a new list.
The current state of things is simpler.  I do get the argument about C
enums, but there is a difference between a grammar rule trick and
something allowed in a language specification.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [PROPOSAL] Termination of Background Workers for ALTER/DROP DATABASE
Next
From: Henson Choi
Date:
Subject: Re: RFC: PostgreSQL Storage I/O Transformation Hooks