Re: disabled, deferred triggers - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: disabled, deferred triggers
Date
Msg-id 200301082228.h08MSTX15060@candle.pha.pa.us
Whole thread Raw
In response to disabled, deferred triggers  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Patch applied.  Thanks.

---------------------------------------------------------------------------


Neil Conway wrote:
> 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).
>
> Cheers,
>
> Neil
> --
> Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC
>
>

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: minor doc improvements
Next
From: Bruce Momjian
Date:
Subject: Re: disabled, deferred triggers