Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c0a4d3e

Browse files
committed
Clarify that LOCK TABLE requires a table-level privilege.
1 parent 5ef6c91 commit c0a4d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/ref/lock.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ LOCK [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [, ...
158158
<para>
159159
<literal>LOCK TABLE ... IN ACCESS SHARE MODE</> requires <literal>SELECT</>
160160
privileges on the target table. All other forms of <command>LOCK</>
161-
require at least one of <literal>UPDATE</>, <literal>DELETE</>, or
161+
require table-level <literal>UPDATE</>, <literal>DELETE</>, or
162162
<literal>TRUNCATE</> privileges.
163163
</para>
164164

0 commit comments

Comments
 (0)