disabled, deferred triggers

From: Neil Conway <neilc(at)samurai(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: disabled, deferred triggers
Date: 2002-12-19 19:03:53
Message-ID: 1040324633.356.146.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)samurai(dot)com> || PGP Key ID: DB3C29FC

Attachment Content-Type Size
disabled_deferred_trig-2.patch text/x-patch 3.0 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2002-12-19 19:43:07 Re: disabled, deferred triggers
Previous Message Bruce Momjian 2002-12-19 17:56:11 Re: max_fsm_pages increased to 1000 by default