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