pgsql-server/src/backend/commands trigger.c

From: momjian(at)postgresql(dot)org (Bruce Momjian - CVS)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/backend/commands trigger.c
Date: 2003-01-08 22:28:32
Message-ID: 20030108222832.6C4DA475E83@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian(at)postgresql(dot)org 03/01/08 17:28:32

Modified files:
src/backend/commands: trigger.c

Log message:
This trivial patch implements disabled, deferred triggers, per my
proposal on -hackers a couple days ago. The 'tgenabled' status of the
trigger is consulted when the trigger is added to the deferred queue
(i.e. when the event occurs that fires the trigger), not when the
deferred event is executed.

No regression tests, as another bug prevents them (the pg_trigger row
for a trigger is only loaded once per session, so any changes to it are
not noticed unless the client disconnects and reconnects).

Neil Conway

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2003-01-08 22:29:23 pgsql-server/src/backend/commands trigger.c
Previous Message Bruce Momjian - CVS 2003-01-08 22:26:34 pgsql-server/src/bin/pg_controldata pg_control ...