> 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.
This commit is contained in:
Bruce Momjian 2006-03-04 04:41:36 +00:00
parent 64e7c8a951
commit f1d7f80c1a

View File

@ -1,5 +1,5 @@
<!--
$PostgreSQL: pgsql/doc/src/sgml/mvcc.sgml,v 2.53 2005/11/07 17:36:44 tgl Exp $
$PostgreSQL: pgsql/doc/src/sgml/mvcc.sgml,v 2.54 2006/03/04 04:41:36 momjian Exp $
-->
<chapter id="mvcc">
@ -710,7 +710,7 @@ SELECT SUM(value) FROM mytab WHERE class = 2;
<para>
Acquired by the <command>ALTER TABLE</command>, <command>DROP
TABLE</command>, <command>REINDEX</command>,
TABLE</command>, <command>TRUNCATE</command>, <command>REINDEX</command>,
<command>CLUSTER</command>, and <command>VACUUM FULL</command>
commands. This is also the default lock mode for <command>LOCK
TABLE</command> statements that do not specify a mode explicitly.