Re: conditional dropping of columns/constraints

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: conditional dropping of columns/constraints
Дата
Msg-id 4A01BB91.3000401@anarazel.de
обсуждение исходный текст
Ответ на conditional dropping of columns/constraints  (Andres Freund <andres@anarazel.de>)
Ответы Re: conditional dropping of columns/constraints  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

On 05/04/2009 04:10 PM, Andres Freund wrote:
> Would a patch adding 'IF EXISTS' support to:
> - ALTER TABLE ... DROP COLUMN
> - ALTER TABLE ... DROP CONSTRAINT
> possibly be accepted?
A first version of a patch is attached:
- allows [ IF EXISTS ] for both, conditional dropping of columns and
constraints
- adds two tiny additions to the alter_table regression suite
- adds minimal documentation (my wording might be completely off)

As this is my first patch to PG I am happy with most sort of feedback.


Andres

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: text_pattern_ops and complex regexps
Следующее
От: David Fetter
Дата:
Сообщение: Re: text_pattern_ops and complex regexps