Re: Generate GUC tables from .dat file

Joe Conway <mail@joeconway.com>

From: Joe Conway <mail@joeconway.com>
To: "David E. Wheeler" <david@justatheory.com>, Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-08-11T16:53:05Z
Lists: pgsql-hackers
On 8/11/25 12:46, David E. Wheeler wrote:
> On Aug 11, 2025, at 02:04, Peter Eisentraut <peter@eisentraut.org> wrote:
>> My next goal would be to make this work so that most of
>> guc_tables.c is generated, and nothing else changes beyond that.
>> But before I do all the remaining tedious work, I wanted to check
>> what people think.

> Honestly it seems like a no-brainer to me.

+1

Without having looked closely at the details, conceptually this sounds 
like a great idea to me.

-- 
Joe Conway
PostgreSQL Contributors Team
Amazon Web Services: https://aws.amazon.com



Commits

  1. Ensure guc_tables.o's dependency on guc_tables.inc.c is known.

  2. Clean up newly added guc_tables.inc.c

  3. Generate GUC tables from .dat file

  4. Formatting cleanup of guc_tables.c