From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Introduce pg_settings_get_flags() to find flags associated to a
Date: Sun, 30 Jan 2022 23:57:38 +0000
Message-ID: <E1nEK4g-0006xh-03@gemulon.postgresql.org> (raw)
Introduce pg_settings_get_flags() to find flags associated to a GUC
The most meaningful flags are shown, which are the ones useful for the
user and for automating and extending the set of tests supported
currently by check_guc.
This script may actually be removed in the future, but we are not
completely sure yet if and how we want to support the remaining sanity
checks performed there, that are now integrated in the main regression
test suite as of this commit.
Thanks also to Peter Eisentraut and Kyotaro Horiguchi for the
discussion.
Bump catalog version.
Author: Justin Pryzby
Discussion: https://postgr.es/m/20211129030833.GJ17618@telsasoft.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d10e41d4238e7dcd23968230939c0c59cbcb41c2
Modified Files
--------------
doc/src/sgml/func.sgml | 37 +++++++++++++++++
src/backend/utils/misc/guc.c | 39 ++++++++++++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 5 +++
src/test/regress/expected/guc.out | 83 +++++++++++++++++++++++++++++++++++++++
src/test/regress/sql/guc.sql | 43 ++++++++++++++++++++
6 files changed, 208 insertions(+), 1 deletion(-)
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: michael@paquier.xyz
Subject: Re: pgsql: Introduce pg_settings_get_flags() to find flags associated to a
In-Reply-To: <E1nEK4g-0006xh-03@gemulon.postgresql.org>
References: <E1nEK4g-0006xh-03@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