]> granicus.if.org Git - postgresql/commitdiff
Removed special hack causing ON UPDATE NO ACTION trigger to
authorJan Wieck <JanWieck@Yahoo.com>
Sun, 6 Feb 2000 10:19:45 +0000 (10:19 +0000)
committerJan Wieck <JanWieck@Yahoo.com>
Sun, 6 Feb 2000 10:19:45 +0000 (10:19 +0000)
be suppressed.

Jan

src/backend/commands/trigger.c

index f83fd9462c297363e3310960ba6fd2dd43dd6e91..ae0b57457a132097b54034835f8037dbea2da5b5 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/commands/trigger.c,v 1.58 2000/02/04 23:45:04 wieck Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/commands/trigger.c,v 1.59 2000/02/06 10:19:45 wieck Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -1825,11 +1825,6 @@ DeferredTriggerSaveEvent(Relation rel, int event,
                                switch (triggers[i]->tgfoid)
                                {
                                        case F_RI_FKEY_NOACTION_UPD:
-                                               is_ri_trigger = true;
-                                               new_event->dte_item[i].dti_state |=
-                                                                                       TRIGGER_DEFERRED_DONE;
-                                               break;
-
                                        case F_RI_FKEY_CASCADE_UPD:
                                        case F_RI_FKEY_RESTRICT_UPD:
                                        case F_RI_FKEY_SETNULL_UPD: