Re: BUG #4516: FOUND variable does not work after RETURN QUERY - Mailing list pgsql-bugs

From Pavel Stehule
Subject Re: BUG #4516: FOUND variable does not work after RETURN QUERY
Date
Msg-id 162867790811060948y3923dba6if4fc5ccd16cc5ebf@mail.gmail.com
Whole thread Raw
In response to Re: BUG #4516: FOUND variable does not work after RETURN QUERY  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #4516: FOUND variable does not work after RETURN QUERY
List pgsql-bugs
Hello

2008/11/6 Tom Lane <tgl@sss.pgh.pa.us>:
> "Michal szymanski" <szymanskim@datera.pl> writes:
>> Description:        FOUND variable does not work after RETURN QUERY
>
> The list of statements that set FOUND is here:
> http://www.postgresql.org/docs/8.3/static/plpgsql-statements.html#PLPGSQL-STATEMENTS-DIAGNOSTICS
>
> RETURN isn't one of them.
>
>                        regards, tom lane
>

It should be enhanced - my initial proposal of return query expected
so return query is last statement, that isn't now. So we could add
this check there.

regards
Pavel Stehule

> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #4516: FOUND variable does not work after RETURN QUERY
Next
From: Tom Lane
Date:
Subject: Re: BUG #4516: FOUND variable does not work after RETURN QUERY