1
1
<!--
2
- $PostgreSQL: pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.113 2010/05/13 18:54:18 tgl Exp $
2
+ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.114 2010/06/09 17:48:10 alvherre Exp $
3
3
PostgreSQL documentation
4
4
-->
5
5
@@ -250,8 +250,10 @@ ALTER TABLE <replaceable class="PARAMETER">name</replaceable>
250
250
status is checked when the event occurs, not when the trigger function
251
251
is actually executed. One can disable or enable a single
252
252
trigger specified by name, or all triggers on the table, or only
253
- user triggers (this option excludes triggers that are used to implement
254
- foreign key constraints). Disabling or enabling constraint triggers
253
+ user triggers (this option excludes internally generated constraint
254
+ triggers such as those that are used to implement foreign key
255
+ constraints or deferrable uniqueness and exclusion constraints).
256
+ Disabling or enabling internally generated constraint triggers
255
257
requires superuser privileges; it should be done with caution since
256
258
of course the integrity of the constraint cannot be guaranteed if the
257
259
triggers are not executed.
@@ -585,8 +587,10 @@ ALTER TABLE <replaceable class="PARAMETER">name</replaceable>
585
587
<listitem>
586
588
<para>
587
589
Disable or enable all triggers belonging to the table.
588
- (This requires superuser privilege if any of the triggers are for
589
- foreign key constraints.)
590
+ (This requires superuser privilege if any of the triggers are
591
+ internally generated constraint triggers such as those that are used
592
+ to implement foreign key constraints or deferrable uniqueness and
593
+ exclusion constraints.)
590
594
</para>
591
595
</listitem>
592
596
</varlistentry>
@@ -596,7 +600,9 @@ ALTER TABLE <replaceable class="PARAMETER">name</replaceable>
596
600
<listitem>
597
601
<para>
598
602
Disable or enable all triggers belonging to the table except for
599
- foreign key constraint triggers.
603
+ internally generated constraint triggers such as those that are used
604
+ to implement foreign key constraints or deferrable uniqueness and
605
+ exclusion constraints.
600
606
</para>
601
607
</listitem>
602
608
</varlistentry>
0 commit comments