Re: SELECT INTO deprecation

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: SELECT INTO deprecation
Дата
Msg-id 8e05fc79-abca-dd3f-4d48-8aaae9525a8f@enterprisedb.com
обсуждение исходный текст
Ответ на Re: SELECT INTO deprecation  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: SELECT INTO deprecation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2020-12-03 00:54, Michael Paquier wrote:
> I got to wonder about the impact when migrating applications
> though.  SELECT INTO has a different meaning in Oracle, but SQL server
> creates a new table like Postgres.

Interesting.  This appears to be the case.  SQL Server uses SELECT INTO 
to create a table, and does not appear to have CREATE TABLE AS.

So maybe we should keep it, but adjust the documentation to point out 
this use case.

[some snarky comment about AWS Babelfish here ... ;-) ]



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: SELECT INTO deprecation
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Add session statistics to pg_stat_database