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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Re: [GENERAL] Re: temp table creation
Дата
Msg-id 200103201832.NAA06604@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Re: [GENERAL] Re: temp table creation  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-docs
> 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

В списке pgsql-docs по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Re: [GENERAL] Re: temp table creation
Следующее
От: Alfonso Peniche
Дата:
Сообщение: Re: [GENERAL] Re: temp table creation