mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Clarify that LOCK TABLE requires a table-level privilege.
This commit is contained in:
@ -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>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user