Re: syntax question

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jeff Eckermann <jeff_eckermann(at)yahoo(dot)com>
Cc: James Cooper <jim(at)luckydigital(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: syntax question
Date: 2003-02-24 18:22:02
Message-ID: 200302241022.02853.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Jeff Boes 2003-02-24 19:12:03 Re: Denormalizing during select
Previous Message Victor Yegorov 2003-02-24 17:53:00 Dynamic SELECT condition