Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0776724

Browse files
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
1 parent 8749d85 commit 0776724

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/src/sgml/config.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9822,9 +9822,9 @@ SET XML OPTION { DOCUMENT | CONTENT };
98229822
</term>
98239823
<listitem>
98249824
<para>
9825-
This variable specifies relation kind to which access is restricted.
9826-
It contains a comma-separated list of relation kind. Currently, the
9827-
supported relation kinds are <literal>view</literal> and
9825+
Set relation kinds for which access to non-system relations is prohibited.
9826+
The value takes the form of a comma-separated list of relation kinds.
9827+
Currently, the supported relation kinds are <literal>view</literal> and
98289828
<literal>foreign-table</literal>.
98299829
</para>
98309830
</listitem>

src/backend/utils/misc/guc_tables.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4713,7 +4713,7 @@ struct config_string ConfigureNamesString[] =
47134713

47144714
{
47154715
{"restrict_nonsystem_relation_kind", PGC_USERSET, CLIENT_CONN_STATEMENT,
4716-
gettext_noop("Sets relation kinds of non-system relation to restrict use"),
4716+
gettext_noop("Prohibits access to non-system relations of specified kinds."),
47174717
NULL,
47184718
GUC_LIST_INPUT | GUC_NOT_IN_SAMPLE
47194719
},

0 commit comments

Comments
 (0)