pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Elphick <olly@lfix.co.uk>
To: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: EXECUTE ... INTO?
Date: Tue, 16 Oct 2001 09:37:23 +0100
Message-ID: <200110160837.f9G8bNPo013820@linda.lfix.co.uk> (raw)
In-Reply-To: <josh@agliodbs.com> <web-148188@davinci.ethosmedia.com>

"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.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 





view thread (2+ messages)

Message-ID: <200110160837.f9G8bNPo013820@linda.lfix.co.uk>
Permalink:  ../200110160837.f9G8bNPo013820@linda.lfix.co.uk/
Also on:    postgresql.org/message-id/200110160837.f9G8bNPo013820@linda.lfix.co.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: olly@lfix.co.uk, josh@agliodbs.com
  Subject: Re: EXECUTE ... INTO?
  In-Reply-To: <200110160837.f9G8bNPo013820@linda.lfix.co.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox