Skip site navigation (1) Skip section navigation (2)

Re: PL/pgSQL bug?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PL/pgSQL bug?
Date: 2001-10-01 16:58:26
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
>> AFAIK the only workaround at present is to use
>> EXECUTE for queries referencing the temp table.

> But EXECUTE does not support select into, does it?

You could probably get the result you want using
	FOR rec IN EXECUTE text_expression LOOP ...

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Vince VielhaberDate: 2001-10-01 16:59:31
Subject: Re: developer's faq
Previous:From: Bruce MomjianDate: 2001-10-01 16:51:09
Subject: Re: developer's faq

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group