Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd851f00

Browse files
committed
With a recent commit truncate is transaction safe in 7.4.
Rod Taylor
1 parentceab6f7 commitd851f00

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/1815: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)

[8]ページ先頭

©2009-2025 Movatter.jp