Re: Trigger - Mailing list pgsql-general

From Peter Childs
Subject Re: Trigger
Date
Msg-id Pine.LNX.4.58.0310231628170.15748@bluedragon.homelinux.net
Whole thread Raw
In response to Re: Trigger  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general

On Thu, 23 Oct 2003, Tom Lane wrote:

> Peter Childs <blue.dragon@blueyonder.co.uk> writes:
> >     Great idea shame drivers to get at these are rare. Anyway you
> > still need a trigger to fire the notify and these get sent when the query
> > is done not when its commented. hmmm
>
> But the NOTIFY isn't delivered until and unless the transaction commits.
> This gets around the AFTER-trigger-can-still-roll-back problem.
>
>             regards, tom lane
>
    Notify is also not very flexable it tells you somthing has
triggerged it not the information that a trigger is supplied with, like
what has changed to what from what.

Peter Childs

pgsql-general by date:

Previous
From: Dardo D Kleiner
Date:
Subject: Re: Setting up DSPACE for Postgres access
Next
From: Richard Huxton
Date:
Subject: Re: Setting up DSPACE for Postgres access