pgsql: Introduce pg_settings_get_flags() to find flags associated to a - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Introduce pg_settings_get_flags() to find flags associated to a
Date
Msg-id E1nEK4g-0006xh-03@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: psql: improve tab-complete's handling of variant SQL names.
Next
From: Andres Freund
Date:
Subject: pgsql: plperl: windows: Use Perl_setlocale on 5.28+, fixing compile fai