Re: execute/perform and FOUND

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: execute/perform and FOUND
Date: 2006-09-21 12:25:17
Message-ID: 20060921122517.GF10331@merkur.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Sep 21, 2006 at 01:32:02PM +0200, Martijn van Oosterhout wrote:

> I beleive that since PERFORM doesn't return anything, it sets the FOUND
> variable to at least indicate whether it did something.
The weird thing is that in the example it sets FOUND to true
even if it did NOT do anything.

Setting FOUND to true because it *succeeded* in doing
nothing is not helpful because not succeeding would abort
the transaction anyways and throw an exception.

Regards,
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marcin Mank 2006-09-21 12:50:08 Re: execute/perform and FOUND
Previous Message Karsten Hilbert 2006-09-21 12:23:12 Re: execute/perform and FOUND