Re: EXECUTE ... INTO?

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: "Josh Berkus" <josh(at)agliodbs(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: EXECUTE ... INTO?
Date: 2001-10-16 08:37:23
Message-ID: 200110160837.f9G8bNPo013820@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Josh Berkus" wrote:
>Folks,
>
>Can anybody tell me the syntax for sending the result of an EXECUTE to a
>variable within a PL/pgSQL function again? Jan Wieck posted it to the
>list this summer, but the "searchable list archives" are bogging down.

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

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)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

Browse pgsql-sql by date

  From Date Subject
Next Message Henshall, Stuart - WCP 2001-10-16 10:57:52 Re: problem w/plpgsql proc
Previous Message Tom Lane 2001-10-16 04:57:13 Re: When will vacuum go away?