Skip to content

Commit d7613ea

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 0e5c823 commit d7613ea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/src/sgml/config.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9818,9 +9818,9 @@ SET XML OPTION { DOCUMENT | CONTENT };
98189818
</term>
98199819
<listitem>
98209820
<para>
9821-
This variable specifies relation kind to which access is restricted.
9822-
It contains a comma-separated list of relation kind. Currently, the
9823-
supported relation kinds are <literal>view</literal> and
9821+
Set relation kinds for which access to non-system relations is prohibited.
9822+
The value takes the form of a comma-separated list of relation kinds.
9823+
Currently, the supported relation kinds are <literal>view</literal> and
98249824
<literal>foreign-table</literal>.
98259825
</para>
98269826
</listitem>

src/backend/utils/misc/guc_tables.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4774,7 +4774,7 @@ struct config_string ConfigureNamesString[] =
47744774

47754775
{
47764776
{"restrict_nonsystem_relation_kind", PGC_USERSET, CLIENT_CONN_STATEMENT,
4777-
gettext_noop("Sets relation kinds of non-system relation to restrict use"),
4777+
gettext_noop("Prohibits access to non-system relations of specified kinds."),
47784778
NULL,
47794779
GUC_LIST_INPUT | GUC_NOT_IN_SAMPLE
47804780
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy