disabled, deferred triggers - Mailing list pgsql-patches

From Neil Conway
Subject disabled, deferred triggers
Date
Msg-id 1040324633.356.146.camel@tokyo
Whole thread Raw
Responses Re: disabled, deferred triggers
Re: disabled, deferred triggers
List pgsql-patches
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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: max_fsm_pages increased to 1000 by default
Next
From: Neil Conway
Date:
Subject: Re: disabled, deferred triggers