projects
/
postgresql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ef6c91
)
Clarify that LOCK TABLE requires a table-level privilege.
author
Robert Haas
<rhaas@postgresql.org>
Fri, 3 Dec 2010 14:29:14 +0000
(09:29 -0500)
committer
Robert Haas
<rhaas@postgresql.org>
Fri, 3 Dec 2010 14:29:14 +0000
(09:29 -0500)
doc/src/sgml/ref/lock.sgml
patch
|
blob
|
history
diff --git
a/doc/src/sgml/ref/lock.sgml
b/doc/src/sgml/ref/lock.sgml
index 0c960aa622b6824e4c3ff842d95c4822db840cc3..86cd744ea4b23fb58ae492a189e51fb9ba8c6c09 100644
(file)
--- a/
doc/src/sgml/ref/lock.sgml
+++ b/
doc/src/sgml/ref/lock.sgml
@@
-158,7
+158,7
@@
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
at least one of
<literal>UPDATE</>, <literal>DELETE</>, or
+ require
table-level
<literal>UPDATE</>, <literal>DELETE</>, or
<literal>TRUNCATE</> privileges.
</para>