Re: BUG #6712: PostgreSQL 9.2 beta2: alter table drop constraint does not work on inherited master table

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: BUG #6712: PostgreSQL 9.2 beta2: alter table drop constraint does not work on inherited master table
Дата
Msg-id 20120719115315.GB28236@tornado.leadboat.com
обсуждение исходный текст
Ответ на Re: BUG #6712: PostgreSQL 9.2 beta2: alter table drop constraint does not work on inherited master table  (Amit kapila <amit.kapila@huawei.com>)
Ответы Re: BUG #6712: PostgreSQL 9.2 beta2: alter table drop constraint does not work on inherited master table  (Amit Kapila <amit.kapila@huawei.com>)
Список pgsql-bugs
On Tue, Jul 17, 2012 at 08:59:50AM +0000, Amit kapila wrote:
> Patch is attached with this mail.

Thanks.  This patch is ready for committer.

> +-- Test non-inheritable indices [UNIQUE, EXCLUDE] contraints
> +CREATE TABLE test_constraints (id int, val1 varchar, val2 int, UNIQUE(val1, val2));
> +CREATE TABLE test_constraints_inh () INHERITS (test_constraints);
> +\d+ test_constraints
> +ALTER TABLE ONLY test_constraints DROP CONSTRAINT test_constraints_val1_val2_key;
> +\d+ test_constraints
> +\d+ test_constraints_inh

To keep output terse, I would have omitted "\d" commands or retained only the
post-DROP "\d+ test_constraints".  Granted, that's subjective.

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

Предыдущее
От: Alexander Law
Дата:
Сообщение: Re: [GENERAL] main log encoding problem
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: [GENERAL] main log encoding problem