Re: CREATE TABLE IF NOT EXISTS AS

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CREATE TABLE IF NOT EXISTS AS
Дата
Msg-id 10097.1384648849@sss.pgh.pa.us
обсуждение исходный текст
Ответ на CREATE TABLE IF NOT EXISTS AS  ("David E. Wheeler" <david@justatheory.com>)
Ответы Re: CREATE TABLE IF NOT EXISTS AS  ("David E. Wheeler" <david@justatheory.com>)
Re: CREATE TABLE IF NOT EXISTS AS  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
"David E. Wheeler" <david@justatheory.com> writes:
> Co-worker asked a question I could not answer: Why is IF NOT EXISTS not supported by CREATE TABLE AS?

That's an even worse idea than plain CREATE IF NOT EXISTS (which was
put in over vocal objections from me and some other people).  Not only
would you not have the faintest clue as to the properties of the table
afterwards, but no clue as to its contents either.
        regards, tom lane



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Storing pg_stat_statements query texts externally, pg_stat_statements in core
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pre-commit triggers