From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alfonso Peniche <alfonso@iteso.mx>
Cc: PostgreSQL-documentation <pgsql-docs@postgresql.org>
Subject: Re: Re: [GENERAL] Re: temp table creation
Date: Tue, 20 Mar 2001 13:32:49 -0500 (EST)
Message-ID: <200103201832.NAA06604@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.30.0103201901390.1639-100000@peter.localdomain>
> Tom Lane writes:
>
> > the spec contemplates INTO as introducing a list of scalar variables to
> > be assigned to. plpgsql and ecpg both use this meaning for SELECT INTO.
> >
> > Would anyone object if I add text to the SELECT INTO ref page that
> > points this out, and recommends CREATE TABLE AS as the preferred
> > syntax?
>
> I agree. SELECT INTO is misnamed; it sounds like INSERT ... SELECT.
Yes.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
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-docs@postgresql.org
Cc: pgman@candle.pha.pa.us, peter_e@gmx.net, tgl@sss.pgh.pa.us, alfonso@iteso.mx
Subject: Re: Re: [GENERAL] Re: temp table creation
In-Reply-To: <200103201832.NAA06604@candle.pha.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