Introduce pg_settings_get_flags() to find flags associated to a GUC

Michael Paquier <michael@paquier.xyz>

Commit: d10e41d4238e7dcd23968230939c0c59cbcb41c2
Author: Michael Paquier <michael@paquier.xyz>
Date: 2022-01-30T23:56:41Z
Releases: 15.0
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

Files

Documentation touched

Discussion