diff options
Diffstat (limited to 'doc/src/sgml/ref/lock.sgml')
-rw-r--r-- | doc/src/sgml/ref/lock.sgml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/lock.sgml b/doc/src/sgml/ref/lock.sgml index 913afe76dd4..b946eab3039 100644 --- a/doc/src/sgml/ref/lock.sgml +++ b/doc/src/sgml/ref/lock.sgml @@ -161,9 +161,11 @@ LOCK [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ] <para> <literal>LOCK TABLE ... IN ACCESS SHARE MODE</> requires <literal>SELECT</> - privileges on the target table. All other forms of <command>LOCK</> - require table-level <literal>UPDATE</>, <literal>DELETE</>, or - <literal>TRUNCATE</> privileges. + privileges on the target table. <literal>LOCK TABLE ... IN ROW EXCLUSIVE + MODE</> requires <literal>INSERT</>, <literal>UPDATE</>, <literal>DELETE</>, + or <literal>TRUNCATE</> privileges on the target table. All other forms of + <command>LOCK</> require table-level <literal>UPDATE</>, <literal>DELETE</>, + or <literal>TRUNCATE</> privileges. </para> <para> |