Re: create if not exists (CINE)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: create if not exists (CINE)
Дата
Msg-id 16905.1241574315@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: create if not exists (CINE)  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: create if not exists (CINE)  (Robert Haas <robertmhaas@gmail.com>)
Re: create if not exists (CINE)  (Laurent Laborde <kerdezixe@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> 1. Why should it do nothing if the object already exists (as opposed
> to any other alternative)?

> Answer: Because that's what "CREATE IF NOT EXISTS" means when
> interpreted as English.

The argument was not about whether that is the "plain meaning" of the
phrase; it was about whether that is a safe and useful behavior for a
command to have.  There is a pretty substantial group of people who
think that it would be quite unsafe, which is why we failed to arrive
at a consensus that this is a good thing to implement.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: create if not exists (CINE)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: create if not exists (CINE)