Skip to content

Commit 5c25fd6

Browse files
committed
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
1 parent 01ddd2f commit 5c25fd6

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

doc/src/sgml/ref/comment.sgml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,8 @@ COMMENT ON
129129
<term><replaceable class="parameter">trigger_name</replaceable></term>
130130
<listitem>
131131
<para>
132-
The name of the object to be commented. Names of tables,
133-
aggregates, collations, conversions, domains, foreign tables, functions,
134-
indexes, operators, operator classes, operator families, procedures, routines, sequences,
135-
statistics, text search objects, types, and views can be
132+
The name of the object to be commented. Names of objects that reside in
133+
schemas (tables, functions, etc.) can be
136134
schema-qualified. When commenting on a column,
137135
<replaceable class="parameter">relation_name</replaceable> must refer
138136
to a table, view, composite type, or foreign table.

doc/src/sgml/ref/security_label.sgml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,8 @@ SECURITY LABEL [ FOR <replaceable class="parameter">provider</replaceable> ] ON
9999
<term><replaceable class="parameter">routine_name</replaceable></term>
100100
<listitem>
101101
<para>
102-
The name of the object to be labeled. Names of tables,
103-
aggregates, domains, foreign tables, functions, procedures, routines, sequences, types, and
104-
views can be schema-qualified.
102+
The name of the object to be labeled. Names of objects that reside in
103+
schemas (tables, functions, etc.) can be schema-qualified.
105104
</para>
106105
</listitem>
107106
</varlistentry>

0 commit comments

Comments
 (0)