CREATE TABLE AS, section IF NOT EXISTS should clarify what happens to the data

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема CREATE TABLE AS, section IF NOT EXISTS should clarify what happens to the data
Дата
Msg-id 164441177106.9677.5991676148704507229@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: CREATE TABLE AS, section IF NOT EXISTS should clarify what happens to the data  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/sql-createtableas.html
Description:

If I create a table with CREATE TABLE IF NOT EXISTS table_name AS, and the
table exists already, I get a NOTICE instead of an ERROR.

I wanted to have it clarified explicitly that the data from the SELECT
statement is ignored in this case.

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: PL/pgSQL PERFORM WITH query
Следующее
От: Erwin Brandstetter
Дата:
Сообщение: Re: PL/pgSQL PERFORM WITH query