Re: create if not exists (CINE)

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: create if not exists (CINE)
Дата
Msg-id 603c8f070905051849h6e2e8d80s5cf4bce0fb0f8f8f@mail.gmail.com
обсуждение исходный текст
Ответ на Re: create if not exists (CINE)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: create if not exists (CINE)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, May 5, 2009 at 9:45 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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.

Who are these people other than you, and did you read the rest of my email?

...Robert


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

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