From f2d0c7f18b0632a93d99f373edc3d8109faffbe2 Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Wed, 20 Jul 2022 13:30:58 +0900 Subject: [PATCH] docs: Improve pg_settings_get_flags docs. In the docs, the GUC flags that pg_settings_get_flags() reported were listed using . But the list was treated as separate lines in the existing function table and didn't look good. For better view, this commit separates the list from the table entry for pg_settings_get_flags() and adds the table for it at the bottom of the existing function table. Author: Fujii Masao Reviewed-by: Alvaro Herrera, Michael Paquier Discussion: https://postgr.es/m/f093edf9-6e5a-b119-ee50-6a2c97c79ee8@oss.nttdata.com --- doc/src/sgml/func.sgml | 64 +++++++++++++++++++++++++++--------------- 1 file changed, 42 insertions(+), 22 deletions(-) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index b6783b7ad0..36c3e53e42 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -24975,28 +24975,8 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id')); Returns an array of the flags associated with the given GUC, or NULL if it does not exist. The result is an empty array if the GUC exists but there are no flags to show. - Only the most useful flags are exposed, as of the following: - - - EXPLAIN: parameters included in - EXPLAIN (SETTINGS) commands. - - - NO_SHOW_ALL: parameters excluded from - SHOW ALL commands. - - - NO_RESET_ALL: parameters excluded from - RESET ALL commands. - - - NOT_IN_SAMPLE: parameters not included in - postgresql.conf by default. - - - RUNTIME_COMPUTED: runtime-computed parameters. - - + Only the most useful flags listed in + are exposed. @@ -25404,6 +25384,46 @@ SELECT collation for ('foo' COLLATE "de_DE"); + + GUC Flags + + + FlagDescription + + + + EXPLAIN + Parameters with this flag are included in + EXPLAIN (SETTINGS) commands. + + + + NO_SHOW_ALL + Parameters with this flag are excluded from + SHOW ALL commands. + + + + NO_RESET_ALL + Parameters with this flag are excluded from + RESET ALL commands. + + + + NOT_IN_SAMPLE + Parameters with this flag are not included in + postgresql.conf by default. + + + + RUNTIME_COMPUTED + Parameters with this flag are runtime-computed ones. + + + + +
+ lists functions related to database object identification and addressing.