Re: EXECUTE ... INTO? - Mailing list pgsql-sql

From Oliver Elphick
Subject Re: EXECUTE ... INTO?
Date
Msg-id 200110160837.f9G8bNPo013820@linda.lfix.co.uk
Whole thread Raw
In response to EXECUTE ... INTO?  ("Josh Berkus" <josh@agliodbs.com>)
List pgsql-sql
"Josh Berkus" wrote: >Folks, > >Can anybody tell me the syntax for sending the result of an EXECUTE to a >variable
withina PL/pgSQL function again?  Jan Wieck posted it to the >list this summer, but the "searchable list archives" are
boggingdown.
 

FOR variable IN EXECUTE ''SELECT ...'' LOOP
END LOOP;

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
    "But be ye doers of the word, and not hearers only,      deceiving your own selves."              James 1:22 




pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: When will vacuum go away?
Next
From: Bruce Momjian
Date:
Subject: Re: VARCHAR vs TEXT