Commit 8421253e authored by Tom Lane's avatar Tom Lane

Document that TRUNCATE ignores user-defined ON DELETE triggers.

parent a13b0185
<!-- <!--
$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> ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment