Re: Rule updates and PQcmdstatus() issue

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Jan Wieck <JanWieck(at)Yahoo(dot)com>, Steve Howe <howe(at)carcass(dot)dhs(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Rule updates and PQcmdstatus() issue
Date: 2002-09-10 15:25:10
Message-ID: 20020910082334.L24403-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Tue, 10 Sep 2002, Tom Lane wrote:

> Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-09-10 15:27:06 Re: Script to compute random page cost
Previous Message Vanmunin Chea 2002-09-10 15:22:40 Re: If there a bug in the psql or just a feature .