pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: miko@idocs.com
Cc: pgsql-sql@postgresql.org
Subject: Re: [BUGS] session variable
Date: Wed, 17 Sep 2003 17:23:05 -0400
Message-ID: <5999.1063833785@sss.pgh.pa.us> (raw)
In-Reply-To: <db27ea77.0309131023.4b94ae6@posting.google.com>
References: <Pine.LNX.4.44.0309031940040.1035-100000@peter.localdomain>
	<200309032042.h83KgmJ24665@candle.pha.pa.us>
	<db27ea77.0309131023.4b94ae6@posting.google.com>

miko@idocs.com (Miko O'Sullivan) writes:
> Unfortunately in the 7.2.x version I have available, EXECUTE does not
> allow "select into".  The docs suggests a technique for using a FOR
> loop to extract information from an EXECUTE, but the technique only
> works for finite set of expected variables, not for arbitrary values.

How do you figure that?  AFAICS "FOR" with a record variable as target
will cover any case that SELECT INTO could handle.

			regards, tom lane



view thread (12+ messages)

Message-ID: <5999.1063833785@sss.pgh.pa.us>
Permalink:  ../5999.1063833785@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5999.1063833785@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, miko@idocs.com
  Subject: Re: [BUGS] session variable
  In-Reply-To: <5999.1063833785@sss.pgh.pa.us>

* 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