Re: PL/pgsql EXECUTE 'SELECT INTO ...'

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jan Wieck <JanWieck(at)Yahoo(dot)com>, <pgsql-hackers(at)postgreSQL(dot)org>, <pgsql-sql(at)postgreSQL(dot)org>
Subject: Re: PL/pgsql EXECUTE 'SELECT INTO ...'
Date: 2001-02-08 19:37:16
Message-ID: Pine.LNX.4.30.0102082036370.1362-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

Tom Lane writes:

> I am inclined to keep our options open by forbidding EXECUTE 'SELECT
> INTO ...' for now. That's more than a tad annoying, because that leaves
> no useful way to do a dynamically-built SELECT, but if we don't forbid
> it I think we'll regret it later.

You can always use CREATE TABLE AS.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-02-08 19:43:33 Re: Syslog and pg_options (for RPMs)
Previous Message Lamar Owen 2001-02-08 19:17:26 Re: Syslog and pg_options (for RPMs)

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2001-02-08 19:49:26 Re: PL/pgsql EXECUTE 'SELECT INTO ...'
Previous Message Tom Lane 2001-02-08 18:50:57 Re: [SQL] Query never returns ...