Re: Rule updates and PQcmdstatus() issue

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, 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-11 19:59:10
Message-ID: Pine.LNX.4.44.0209112136320.1307-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jan Wieck writes:

> I think we will have no chance to really return the number of
> VIEW-tuples affected. So any implementation is only a guess and we could
> simply return fixed 42 if "some" tuples where affected at all. This
> return is as wrong (according to Steve) as everything else but at least
> we have a clear definition what it means.

Maybe we should return something to the effect of "unknown, but something
happened". I can see that returning 0 in case of doubt might confuse
applications.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-09-11 20:19:26 Re:
Previous Message elein 2002-09-11 19:58:10 Re: