From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Change config_generic.vartype to be initialized at compile time
Date: Fri, 17 Oct 2025 08:37:52 +0000
Message-ID: <E1v9fyC-00278p-27@gemulon.postgresql.org> (raw)
Change config_generic.vartype to be initialized at compile time
Previously, this was initialized at run time so that it did not have
to be maintained by hand in guc_tables.c. But since that table is now
generated anyway, we might as well generate this bit as well.
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/8fdfb91e-60fb-44fa-8df6-f5dea47353c9@eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e1a912c86d5205371b043772aa89908f2452cbf0
Modified Files
--------------
src/backend/utils/misc/gen_guc_tables.pl | 1 +
src/backend/utils/misc/guc.c | 28 +---------------------------
src/include/utils/guc_tables.h | 2 +-
3 files changed, 3 insertions(+), 28 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Change config_generic.vartype to be initialized at compile time
In-Reply-To: <E1v9fyC-00278p-27@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox