mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
With a recent commit truncate is transaction safe in 7.4.
Rod Taylor
This commit is contained in:
parent
ceab6f7283
commit
d851f002a4
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/truncate.sgml,v 1.8 2002/05/18 15:44:47 petere Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/ref/truncate.sgml,v 1.9 2002/12/06 03:15:07 momjian Exp $
|
||||||
PostgreSQL documentation
|
PostgreSQL documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -84,12 +84,6 @@ TRUNCATE TABLE
|
|||||||
<command>DELETE</command> but since it does not actually scan the
|
<command>DELETE</command> but since it does not actually scan the
|
||||||
table it is faster. This is most useful on large tables.
|
table it is faster. This is most useful on large tables.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<command>TRUNCATE</command> cannot be executed inside a transaction
|
|
||||||
block (<command>BEGIN</>/<command>COMMIT</> pair), because there is
|
|
||||||
no way to roll it back.
|
|
||||||
</para>
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1 id="R1-SQL-TRUNCATE-2">
|
<refsect1 id="R1-SQL-TRUNCATE-2">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user