Commit c0a4d3e0 authored by Robert Haas's avatar Robert Haas

Clarify that LOCK TABLE requires a table-level privilege.

parent 5ef6c913
...@@ -158,7 +158,7 @@ LOCK [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [, ... ...@@ -158,7 +158,7 @@ LOCK [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [, ...
<para> <para>
<literal>LOCK TABLE ... IN ACCESS SHARE MODE</> requires <literal>SELECT</> <literal>LOCK TABLE ... IN ACCESS SHARE MODE</> requires <literal>SELECT</>
privileges on the target table. All other forms of <command>LOCK</> privileges on the target table. All other forms of <command>LOCK</>
require at least one of <literal>UPDATE</>, <literal>DELETE</>, or require table-level <literal>UPDATE</>, <literal>DELETE</>, or
<literal>TRUNCATE</> privileges. <literal>TRUNCATE</> privileges.
</para> </para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment