Clarify restrict_nonsystem_relation_kind description.
authorMasahiko Sawada
Fri, 30 Aug 2024 22:06:02 +0000 (15:06 -0700)
committerMasahiko Sawada
Fri, 30 Aug 2024 22:06:02 +0000 (15:06 -0700)
This change improves the description of the
restrict_nonsystem_relation_kind parameter in guc_table.c and the
documentation for better clarity.

Backpatch to 12, where this GUC parameter was introduced.

Reviewed-by: Peter Eisentraut
Discussion: https://postgr.es/m/6a96f1af-22b4-4a80-8161-1f26606b9ee2%40eisentraut.org
Backpatch-through: 12

doc/src/sgml/config.sgml
src/backend/utils/misc/guc.c

index 87d050d3fadee075907fdf0e3a27ac73dd50bc2d..9a479f28e0743705cf49f6366dc2d8716d612eae 100644 (file)
@@ -9394,9 +9394,9 @@ SET XML OPTION { DOCUMENT | CONTENT };
      
      
       
-       This variable specifies relation kind to which access is restricted.
-       It contains a comma-separated list of relation kind.  Currently, the
-       supported relation kinds are view and
+       Set relation kinds for which access to non-system relations is prohibited.
+       The value takes the form of a comma-separated list of relation kinds.
+       Currently, the supported relation kinds are view and
        foreign-table.
       
      
index dea995af094b0231c7549b5888d403404162a007..835986288a2ce5efd4a3fdc731fb56573db8715b 100644 (file)
@@ -4714,7 +4714,7 @@ static struct config_string ConfigureNamesString[] =
 
    {
        {"restrict_nonsystem_relation_kind", PGC_USERSET, CLIENT_CONN_STATEMENT,
-           gettext_noop("Sets relation kinds of non-system relation to restrict use"),
+           gettext_noop("Prohibits access to non-system relations of specified kinds."),
            NULL,
            GUC_LIST_INPUT | GUC_NOT_IN_SAMPLE
        },