> It doesn't say that only the listed commands acquire ACCESS EXCLUSIVE,
authorBruce Momjian
Sat, 4 Mar 2006 04:41:36 +0000 (04:41 +0000)
committerBruce Momjian
Sat, 4 Mar 2006 04:41:36 +0000 (04:41 +0000)
> 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.

doc/src/sgml/mvcc.sgml

index 9e2adc4e46f920aaaecd42cb693a2808cd2bc31e..f6aa4cb2d130e71df29ed4d75c35ee9ed51c18ed 100644 (file)
@@ -1,5 +1,5 @@
 
 
  
@@ -710,7 +710,7 @@ SELECT SUM(value) FROM mytab WHERE class = 2;
 
    
     Acquired by the ALTER TABLEDROP
-    TABLE, REINDEX,
+    TABLE, TRUNCATEREINDEX,
     CLUSTER, and VACUUM FULL
     commands.  This is also the default lock mode for LOCK
     TABLE statements that do not specify a mode explicitly.