diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-06-05 09:08:40 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-06-05 09:08:40 +0200 |
commit | 5c25fd650a774cc4f16ac9c635830d9bc5797f61 (patch) | |
tree | 2906ba407ea71b79f5176d2c85decc9a3b495cda | |
parent | 01ddd2f7e411ba434473faebf00f5b5af84c0f64 (diff) | |
download | postgresql-5c25fd650a774cc4f16ac9c635830d9bc5797f61.tar.gz postgresql-5c25fd650a774cc4f16ac9c635830d9bc5797f61.zip |
doc: Simplify COMMENT and SECURITY LABEL documentation
Just say that objects that reside in schemas can be schema-qualified.
Don't list all possible such objects. The existing lists weren't
complete anyway.
Discussion: https://www.postgresql.org/message-id/flat/b2ec2234-67fe-d861-5cea-f526cd18c086%40enterprisedb.com
-rw-r--r-- | doc/src/sgml/ref/comment.sgml | 6 | ||||
-rw-r--r-- | doc/src/sgml/ref/security_label.sgml | 5 |
2 files changed, 4 insertions, 7 deletions
diff --git a/doc/src/sgml/ref/comment.sgml b/doc/src/sgml/ref/comment.sgml index eda91b4e240..4f30bb93e2a 100644 --- a/doc/src/sgml/ref/comment.sgml +++ b/doc/src/sgml/ref/comment.sgml @@ -129,10 +129,8 @@ COMMENT ON <term><replaceable class="parameter">trigger_name</replaceable></term> <listitem> <para> - The name of the object to be commented. Names of tables, - aggregates, collations, conversions, domains, foreign tables, functions, - indexes, operators, operator classes, operator families, procedures, routines, sequences, - statistics, text search objects, types, and views can be + The name of the object to be commented. Names of objects that reside in + schemas (tables, functions, etc.) can be schema-qualified. When commenting on a column, <replaceable class="parameter">relation_name</replaceable> must refer to a table, view, composite type, or foreign table. diff --git a/doc/src/sgml/ref/security_label.sgml b/doc/src/sgml/ref/security_label.sgml index 9b87bcd5196..407a09720b8 100644 --- a/doc/src/sgml/ref/security_label.sgml +++ b/doc/src/sgml/ref/security_label.sgml @@ -99,9 +99,8 @@ SECURITY LABEL [ FOR <replaceable class="parameter">provider</replaceable> ] ON <term><replaceable class="parameter">routine_name</replaceable></term> <listitem> <para> - The name of the object to be labeled. Names of tables, - aggregates, domains, foreign tables, functions, procedures, routines, sequences, types, and - views can be schema-qualified. + The name of the object to be labeled. Names of objects that reside in + schemas (tables, functions, etc.) can be schema-qualified. </para> </listitem> </varlistentry> |