From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Re-allow custom GUC names that have more than two components.
Date: Wed, 02 Jun 2021 22:50:34 +0000
Message-ID: <E1loZh4-0002Gj-41@gemulon.postgresql.org> (raw)
Re-allow custom GUC names that have more than two components.
Commit 3db826bd5 disallowed this case, but it turns out that some
people are depending on it. Since the core grammar has allowed
it since 3dc37cd8d, it seems like this code should fall in line.
Per bug #17045 from Robert Sosinski.
Discussion: https://postgr.es/m/17045-6a4a9f0d1513f72b@postgresql.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2955c2be79b35fa369c83fa3b5f44661cb88afa9
Modified Files
--------------
src/backend/utils/misc/guc.c | 15 ++++++++-------
src/test/regress/expected/guc.out | 20 ++++++++++++++++++--
src/test/regress/sql/guc.sql | 5 +++++
3 files changed, 31 insertions(+), 9 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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Re-allow custom GUC names that have more than two components.
In-Reply-To: <E1loZh4-0002Gj-41@gemulon.postgresql.org>
References: <E1loZh4-0002Gj-41@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