Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: improve FOUND in PL/PgSQL - Mailing list pgsql-patches

From Neil Conway
Subject Re: improve FOUND in PL/PgSQL
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: improve FOUND in PL/PgSQL  (Tom Lane <[email protected]>)
Responses Re: improve FOUND in PL/PgSQL
List pgsql-patches
Tom Lane <[email protected]> writes:
> BTW, the text still fails to make it clear that the statements will in
> fact reset FOUND to false when they process zero rows (or whatever).
> One could easily read this text as saying that FOUND will be the logical
> OR of whether all the statements-so-far found a row.
>
> It might also be good to spell out that FOUND is local in each plpgsql
> function, not a global variable.

Ok, a revised patch is attached. Thanks for the feedback.

Cheers,

Neil

--
Neil Conway <[email protected]>
PGP Key ID: DB3C29FC

Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: improve FOUND in PL/PgSQL
Next
From: Neil Conway
Date:
Subject: Re: improve SET CONSTRAINTS