Skip to content

Commit

Permalink
Add remove last added oid from triggerOids
Browse files Browse the repository at this point in the history
Task: BABEl-2170

Signed-off-by: Deepakshi Mittal <[email protected]>
  • Loading branch information
deepakshi-mittal committed Nov 6, 2023
1 parent 2c1bb49 commit 83b2540
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/backend/commands/trigger.c
Original file line number Diff line number Diff line change
Expand Up @@ -2578,7 +2578,8 @@ ExecCallTriggerFunc(TriggerData *trigdata,
PG_FINALLY();
{
MyTriggerDepth--;
triggerOids = NIL;
triggerOids = list_delete_oid(triggerOids, trigdata->tg_trigger->tgoid);
// triggerOids = list_delete_last(triggerOids);
}
PG_END_TRY();

Expand Down

0 comments on commit 83b2540

Please sign in to comment.