Re: Introduce ENDLIST to terminate multiline makefile lists

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Introduce ENDLIST to terminate multiline makefile lists
Date: 2025-12-29 02:07:43
Message-ID: aVHib9IpzvHm0r0e@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Henson Choi 2025-12-29 02:35:12 Re: RFC: PostgreSQL Storage I/O Transformation Hooks
Previous Message Michael Paquier 2025-12-29 02:03:39 Re: [PROPOSAL] Termination of Background Workers for ALTER/DROP DATABASE