From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix initdb's -c option to treat the GUC name case-insensitively.
Date: Mon, 04 Mar 2024 17:01:00 +0000
Message-ID: <E1rhBgS-0023vE-EA@gemulon.postgresql.org> (raw)
Fix initdb's -c option to treat the GUC name case-insensitively.
The backend treats GUC names case-insensitively, so this code should
too. This avoids ending up with a confusing set of redundant entries
in the generated postgresql.conf file.
Per report from Kyotaro Horiguchi. Back-patch to v16 where this
feature was added (in commit 3e51b278d).
Discussion: https://postgr.es/m/20230928.164904.2153358973162534034.horikyota.ntt@gmail.com
Branch
------
REL_16_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/b78f4d22b2f21a3efd1cb8969c9e8fa1f52466c5
Modified Files
--------------
src/bin/initdb/initdb.c | 9 +++++++--
src/bin/initdb/t/001_initdb.pl | 14 ++++++++++++++
2 files changed, 21 insertions(+), 2 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: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix initdb's -c option to treat the GUC name case-insensitively.
In-Reply-To: <E1rhBgS-0023vE-EA@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