Re: functions and temporary tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "anorakgirl" <postgres(at)anorakgirl(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: functions and temporary tables
Date: 2004-02-09 16:16:40
Message-ID: 20198.1076343400@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"anorakgirl" <postgres(at)anorakgirl(dot)co(dot)uk> writes:
> ... i can't
> work out how to get the data back out of my temporary table, as i don't
> think i can get the results of a select performed using EXECUTE?

At present you have to use a FOR IN EXECUTE loop, even if you only
expect one row out of the SELECT.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joe Lester 2004-02-09 16:22:40 Increasing Max Connections Mac OS 10.3
Previous Message Teodor Sigaev 2004-02-09 16:11:38 Re: TSearch and rankings