From: Bruce Momjian Date: Sat, 4 Mar 2006 04:41:36 +0000 (+0000) Subject: > It doesn't say that only the listed commands acquire ACCESS EXCLUSIVE, X-Git-Tag: REL8_2_BETA1~1304 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1d7f80c1aae60ccfe0c3fbdc8ef74404da4d479;p=postgresql > It doesn't say that only the listed commands acquire ACCESS EXCLUSIVE, > just that certain commands do. TRUNCATE isn't shown. Patch against HEAD to add TRUNCATE to the list of commands that aquire ACCESS EXCLUSIVE. Jim C. Nasby, Sr. --- diff --git a/doc/src/sgml/mvcc.sgml b/doc/src/sgml/mvcc.sgml index 9e2adc4e46..f6aa4cb2d1 100644 --- a/doc/src/sgml/mvcc.sgml +++ b/doc/src/sgml/mvcc.sgml @@ -1,5 +1,5 @@ @@ -710,7 +710,7 @@ SELECT SUM(value) FROM mytab WHERE class = 2; Acquired by the ALTER TABLE, DROP - TABLE, REINDEX, + TABLE, TRUNCATE, REINDEX, CLUSTER, and VACUUM FULL commands. This is also the default lock mode for LOCK TABLE statements that do not specify a mode explicitly.