Re: Re: [GENERAL] Re: temp table creation

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Alfonso Peniche <alfonso(at)iteso(dot)mx>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Re: [GENERAL] Re: temp table creation
Date: 2001-03-20 18:02:22
Message-ID: Pine.LNX.4.30.0103201901390.1639-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-general

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.

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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2001-03-20 18:32:49 Re: Re: [GENERAL] Re: temp table creation
Previous Message Tom Lane 2001-03-20 17:14:22 Re: Re: [GENERAL] Re: temp table creation

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-03-20 18:07:28 Re: sorting on inet type?
Previous Message will trillich 2001-03-20 18:00:54 clever COMMENT/description usage -- internationalizing?