Re: Rule updates and PQcmdstatus() issue - Mailing list pgsql-hackers

From Stephan Szabo
Subject Re: Rule updates and PQcmdstatus() issue
Date
Msg-id 20020910082334.L24403-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: Rule updates and PQcmdstatus() issue  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, 10 Sep 2002, Tom Lane wrote:

> Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> > On Mon, 9 Sep 2002, Bruce Momjian wrote:
> >> All the problems here are coming from INSTEAD rules.  We don't have
> >> INSTEAD triggers or contraints.
>
> > Sure we do, well sort of. :)
> > Make a before trigger that does a different statement and returns NULL
> > to abort the original action on that row.
>
> I think we can reasonably leave the side-effects of triggers out of the
> discussion.  PQcmdStatus numbers have never included side-effects of
> triggers in the past, and I see no reason for them to start now.
>

I agree, I was just commenting on the instead trigger comment.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: If there a bug in the psql or just a feature .
Next
From: Bruce Momjian
Date:
Subject: Re: Script to compute random page cost