Re: conditional dropping of columns/constraints

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: conditional dropping of columns/constraints
Дата
Msg-id 4A003769.1050600@dunslane.net
обсуждение исходный текст
Ответ на Re: conditional dropping of columns/constraints  (Chris Browne <cbbrowne@acm.org>)
Ответы Re: conditional dropping of columns/constraints  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers

Chris Browne wrote:
> For columns, I'd *much* more frequently be interested in
>    ALTER TABLE ... ADD COLUMN IF NOT EXISTS ...
>
>
>   

We have debated CREATE ... IF NOT EXISTS in the past, and there is no 
consensus on what it should do, so we don't have it for any command. 
That is quite a different case from what's being asked for, and the two 
should not be conflated.

cheers

andrew


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: conditional dropping of columns/constraints
Следующее
От: Andres Freund
Дата:
Сообщение: Re: conditional dropping of columns/constraints