mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Removed special hack causing ON UPDATE NO ACTION trigger to
be suppressed. Jan
This commit is contained in:
parent
a64d3bc433
commit
4acf890948
@ -7,7 +7,7 @@
|
|||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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)
|
switch (triggers[i]->tgfoid)
|
||||||
{
|
{
|
||||||
case F_RI_FKEY_NOACTION_UPD:
|
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_CASCADE_UPD:
|
||||||
case F_RI_FKEY_RESTRICT_UPD:
|
case F_RI_FKEY_RESTRICT_UPD:
|
||||||
case F_RI_FKEY_SETNULL_UPD:
|
case F_RI_FKEY_SETNULL_UPD:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user