Skip to content

Commit 886549f

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 cf49a60 commit 886549f

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
@@ -9394,9 +9394,9 @@ SET XML OPTION { DOCUMENT | CONTENT };
93949394
</term>
93959395
<listitem>
93969396
<para>
9397-
This variable specifies relation kind to which access is restricted.
9398-
It contains a comma-separated list of relation kind. Currently, the
9399-
supported relation kinds are <literal>view</literal> and
9397+
Set relation kinds for which access to non-system relations is prohibited.
9398+
The value takes the form of a comma-separated list of relation kinds.
9399+
Currently, the supported relation kinds are <literal>view</literal> and
94009400
<literal>foreign-table</literal>.
94019401
</para>
94029402
</listitem>

src/backend/utils/misc/guc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4714,7 +4714,7 @@ static struct config_string ConfigureNamesString[] =
47144714

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

0 commit comments

Comments
 (0)