From ef60de67ebde6dfd1ea09b4d08166736bf05698c Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Mon, 9 Nov 2020 15:10:26 +0900 Subject: [PATCH] doc: Add note about pg_settings and customized options into catalogs.sgml. The pg_settings view does not display customized options until the extension module that defines them has been loaded. This commit add the note about that behavior, into the docs. Author: John Naylor Reviewed-by: Tom Lane, Fujii Masao Discussion: https://postgr.es/m/CAFBsxsGsBZsG=cLM0Op5HFb2Ks6SzJrOc_eRO_jcKSNuqFRKnQ@mail.gmail.com --- doc/src/sgml/catalogs.sgml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 5fb9dca4258..569841398b4 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -12279,10 +12279,14 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx - The pg_settings view cannot be inserted into or - deleted from, but it can be updated. An UPDATE applied - to a row of pg_settings is equivalent to executing - the SET command on that named + This view does not display customized options + until the extension module that defines them has been loaded. + + + + This view cannot be inserted into or deleted from, but it can be updated. An + UPDATE applied to a row of pg_settings + is equivalent to executing the SET command on that named parameter. The change only affects the value used by the current session. If an UPDATE is issued within a transaction that is later aborted, the effects of the UPDATE command