mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Document that TRUNCATE ignores user-defined ON DELETE triggers.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/truncate.sgml,v 1.14 2003/09/19 21:04:19 tgl Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/ref/truncate.sgml,v 1.15 2003/09/19 21:06:39 tgl Exp $
|
||||||
PostgreSQL documentation
|
PostgreSQL documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -58,6 +58,11 @@ TRUNCATE [ TABLE ] <replaceable class="PARAMETER">name</replaceable>
|
|||||||
to the table from other tables. Checking validity in such cases would
|
to the table from other tables. Checking validity in such cases would
|
||||||
require table scans, and the whole point is not to do one.
|
require table scans, and the whole point is not to do one.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
<command>TRUNCATE</> will not run any user-defined ON DELETE triggers
|
||||||
|
that might exist for the table.
|
||||||
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
Reference in New Issue
Block a user