Introduce pg_settings_get_flags() to find flags associated to a GUC
authorMichael Paquier <[email protected]>
Sun, 30 Jan 2022 23:56:41 +0000 (08:56 +0900)
committerMichael Paquier <[email protected]>
Sun, 30 Jan 2022 23:56:41 +0000 (08:56 +0900)
commitd10e41d4238e7dcd23968230939c0c59cbcb41c2
tree522bef7a713b180657354439137417005c291a4a
parent02b8048ba5dc36238f3e7c3c58c5946220298d71
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[email protected]
doc/src/sgml/func.sgml
src/backend/utils/misc/guc.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.dat
src/test/regress/expected/guc.out
src/test/regress/sql/guc.sql