summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiko Sawada2024-08-30 22:06:07 +0000
committerMasahiko Sawada2024-08-30 22:06:07 +0000
commit0776724050f47c5ff827693f498cd2604c1ea5d1 (patch)
tree066fab6dde036aef69af40e7f4a68eeb0a23584c
parent8749d850f962a3fe77b637ef17de9f69e0e9389d (diff)
Clarify restrict_nonsystem_relation_kind description.
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
-rw-r--r--doc/src/sgml/config.sgml6
-rw-r--r--src/backend/utils/misc/guc_tables.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index d778d28e6f6..7c60aeab4f6 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -9822,9 +9822,9 @@ SET XML OPTION { DOCUMENT | CONTENT };
</term>
<listitem>
<para>
- 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 <literal>view</literal> 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 <literal>view</literal> and
<literal>foreign-table</literal>.
</para>
</listitem>
diff --git a/src/backend/utils/misc/guc_tables.c b/src/backend/utils/misc/guc_tables.c
index a165bf5c36e..dc222d98add 100644
--- a/src/backend/utils/misc/guc_tables.c
+++ b/src/backend/utils/misc/guc_tables.c
@@ -4713,7 +4713,7 @@ 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
},