Skip to content

Commit d851f00

Browse files
committed
With a recent commit truncate is transaction safe in 7.4.
Rod Taylor
1 parent ceab6f7 commit d851f00

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

doc/src/sgml/ref/truncate.sgml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/truncate.sgml,v 1.8 2002/05/18 15:44:47 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/truncate.sgml,v 1.9 2002/12/06 03:15:07 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -84,12 +84,6 @@ TRUNCATE TABLE
8484
<command>DELETE</command> but since it does not actually scan the
8585
table it is faster. This is most useful on large tables.
8686
</para>
87-
88-
<para>
89-
<command>TRUNCATE</command> cannot be executed inside a transaction
90-
block (<command>BEGIN</>/<command>COMMIT</> pair), because there is
91-
no way to roll it back.
92-
</para>
9387
</refsect1>
9488

9589
<refsect1 id="R1-SQL-TRUNCATE-2">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy