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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Re: [GENERAL] Re: temp table creation
Дата
Msg-id Pine.LNX.4.30.0103201901390.1639-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Re: [GENERAL] Re: temp table creation  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Re: [GENERAL] Re: temp table creation
Список 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.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: [GENERAL] Re: temp table creation
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: [GENERAL] Re: temp table creation