Re: BUG #4516: FOUND variable does not work after RETURN QUERY

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Michal szymanski" <szymanskim(at)datera(dot)pl>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4516: FOUND variable does not work after RETURN QUERY
Date: 2008-11-06 17:48:02
Message-ID: 162867790811060948y3923dba6if4fc5ccd16cc5ebf@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Hello

2008/11/6 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> "Michal szymanski" <szymanskim(at)datera(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-11-06 18:19:31 Re: BUG #4516: FOUND variable does not work after RETURN QUERY
Previous Message Tom Lane 2008-11-06 17:22:51 Re: BUG #4516: FOUND variable does not work after RETURN QUERY

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-11-06 17:51:44 Re: My review for the patch "Table command"
Previous Message Tom Lane 2008-11-06 17:45:33 Re: patch to fix client only builds