diff options
-rw-r--r-- | doc/src/sgml/mvcc.sgml | 2 | ||||
-rw-r--r-- | doc/src/sgml/ref/comment.sgml | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/src/sgml/mvcc.sgml b/doc/src/sgml/mvcc.sgml index 3c28a9f8e68..de91a85e5e8 100644 --- a/doc/src/sgml/mvcc.sgml +++ b/doc/src/sgml/mvcc.sgml @@ -950,7 +950,7 @@ ERROR: could not serialize access due to read/write dependencies among transact <para> Acquired by <command>VACUUM</command> (without <option>FULL</option>), <command>ANALYZE</>, <command>CREATE INDEX CONCURRENTLY</>, - <command>CREATE STATISTICS</> and + <command>CREATE STATISTICS</>, <command>COMMENT ON</> and <command>ALTER TABLE VALIDATE</command> and other <command>ALTER TABLE</command> variants (for full details see <xref linkend="SQL-ALTERTABLE">). diff --git a/doc/src/sgml/ref/comment.sgml b/doc/src/sgml/ref/comment.sgml index df328117f1d..7a31dd08bed 100644 --- a/doc/src/sgml/ref/comment.sgml +++ b/doc/src/sgml/ref/comment.sgml @@ -89,6 +89,11 @@ COMMENT ON </para> <para> + A <literal>SHARE UPDATE EXCLUSIVE</literal> lock is acquired on the + object to be commented. + </para> + + <para> For most kinds of object, only the object's owner can set the comment. Roles don't have owners, so the rule for <literal>COMMENT ON ROLE</> is that you must be superuser to comment on a superuser role, or have the |