Re: create language ... if not exists

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: create language ... if not exists
Дата
Msg-id 20080329224511.33b743c2@mha-laptop
обсуждение исходный текст
Ответ на Re: create language ... if not exists  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
> > If we're implementing IF NOT EXISTS across the board, let's do that
> > for languages at the same time as for others.
>
> Yeah, if we were going to do it at all it should be handled
> across-the-board, the way DROP IF EXISTS was.  However, I seem to
> recall that in the discussions leading up to implementing DROP IF
> EXISTS, we considered and specifically rejected CREATE IF NOT
> EXISTS.  Don't have time right now to troll the archives for the
> reasoning.

Right. Which is one of the reasons why I'm suggesting we stick with the
CREATE OR REPLACE for now.

//Magnus

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: create language ... if not exists
Следующее
От: "Alex Hunsaker"
Дата:
Сообщение: Re: [badalex@gmail.com: Re: [BUGS] Problem identifying constraints which should not be inherited]