pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Eckermann <jeff_eckermann@yahoo.com>
Cc: James Cooper <jim@luckydigital.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: syntax question
Date: Mon, 24 Feb 2003 10:22:02 -0800
Message-ID: <200302241022.02853.josh@agliodbs.com> (raw)
In-Reply-To: <3492.1046100614@sss.pgh.pa.us>
References: <20030224151740.15417.qmail@web20805.mail.yahoo.com>
	<3492.1046100614@sss.pgh.pa.us>

Jeff,

> I think Josh meant to say you can't select the results of a *dynamically
> constructed* query without a loop --- that is, you need FOR ... EXECUTE.
> A plain EXECUTE doesn't support plpgsql's notion of SELECT INTO.

That's correct.  See the rest of the thread.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (7+ messages)

Message-ID: <200302241022.02853.josh@agliodbs.com>
Permalink:  ../200302241022.02853.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200302241022.02853.josh@agliodbs.com

 · 

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: josh@agliodbs.com, tgl@sss.pgh.pa.us, jeff_eckermann@yahoo.com, jim@luckydigital.com
  Subject: Re: syntax question
  In-Reply-To: <200302241022.02853.josh@agliodbs.com>

* 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