"anorakgirl" <postgres@anorakgirl.co.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