PL/pgSQL bug: FOUND variable is not updated correct with EXECUTE
PL/pgSQL bug: FOUND variable is not updated correct with EXECUTE
От:
Vitaly Belman <vitalyb@gmail.com>
Дата:
Doing an EXECUTE for a query which returns results still yields 'f' for the FOUND variable. "GET DIAGNOSTICS" on the other hand, works fine, Using version 8 on Win32. -- ICQ: 1912453 AIM: VitalyB1984 MSN: tmdagent@hotmail.com Yahoo!: VitalyBe
Re: PL/pgSQL bug: FOUND variable is not updated correct with EXECUTE
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Vitaly Belman writes: > Doing an EXECUTE for a query which returns results still yields 'f' > for the FOUND variable. This is not a bug. Read the list of statements that update FOUND. EXECUTE is not one of them. regards, tom lane
Re: PL/pgSQL bug: FOUND variable is not updated correct
От:
Neil Conway <neilc@samurai.com>
Дата:
On Tue, 2005-02-08 at 18:11 -0500, Tom Lane wrote:
> Vitaly Belman writes:
> > Doing an EXECUTE for a query which returns results still yields 'f'
> > for the FOUND variable.
>
> This is not a bug. Read the list of statements that update FOUND.
> EXECUTE is not one of them.
See also previous discussion on this topic:
http://archives.postgresql.org/pgsql-bugs/2004-10/msg00001.php
-Neil