postgres.git / summary / log / commit / refs

commit    d7613ea72f787f0cc3c1749f7444f17730f4d697
Author:   Masahiko Sawada <msawada@postgresql.org>
Date:     Fri Aug 30 22:06:09 2024 +0000
First released in: 18.0, 12.21, 13.17, 14.14, 15.9, 16.5, 17.0

    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


doc/src/sgml/config.sgml | 6 +++--- src/backend/utils/misc/guc_tables.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 12feac60874..0aec11f4432 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -9818,9 +9818,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 880d76aae0f..521ec5591c8 100644 --- a/src/backend/utils/misc/guc_tables.c +++ b/src/backend/utils/misc/guc_tables.c @@ -4774,7 +4774,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 }, [parent: 0e5c823806a3]