mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
Document that TRUNCATE ignores user-defined ON DELETE triggers.
This commit is contained in:
parent
a13b018530
commit
8421253e54
@ -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
|
||||
-->
|
||||
|
||||
@ -58,6 +58,11 @@ TRUNCATE [ TABLE ] <replaceable class="PARAMETER">name</replaceable>
|
||||
to the table from other tables. Checking validity in such cases would
|
||||
require table scans, and the whole point is not to do one.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<command>TRUNCATE</> will not run any user-defined ON DELETE triggers
|
||||
that might exist for the table.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
Loading…
Reference in New Issue
Block a user