pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <amit.kapila@huawei.com>
To: 'Noah Misch' <noah@leadboat.com>
Cc: miroslav.sulc@fordfrog.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6712: PostgreSQL 9.2 beta2: alter table drop constraint	does not work on inherited master table
Date: Fri, 20 Jul 2012 08:27:04 +0530
Message-ID: <000f01cd6623$582cc530$08864f90$@kapila@huawei.com> (raw)
In-Reply-To: <20120719115315.GB28236@tornado.leadboat.com>
References: <20120715212344.GA7475@tornado.leadboat.com>
	<6C0B27F7206C9E4CA54AE035729E9C382851E5AB@szxeml509-mbs>
	<20120719115315.GB28236@tornado.leadboat.com>

From: Noah Misch [mailto:noah@leadboat.com] 
Sent: Thursday, July 19, 2012 5:23 PM
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.

Thanks for the review of patch.

With Regards,
Amit Kapila.




view thread (14+ messages)  latest in thread

Message-ID: <000f01cd6623$582cc530$08864f90$@kapila@huawei.com>
Permalink:  ../000f01cd6623$582cc530$08864f90$@kapila@huawei.com/
Also on:    postgresql.org/message-id/000f01cd6623$582cc530$08864f90$@kapila@huawei.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: amit.kapila@huawei.com, noah@leadboat.com, miroslav.sulc@fordfrog.com
  Subject: Re: BUG #6712: PostgreSQL 9.2 beta2: alter table drop constraint	does not work on inherited master table
  In-Reply-To: <000f01cd6623$582cc530$08864f90$@kapila@huawei.com>
  References: <20120715212344.GA7475@tornado.leadboat.com> <6C0B27F7206C9E4CA54AE035729E9C382851E5AB@szxeml509-mbs> <20120719115315.GB28236@tornado.leadboat.com> <000f01cd6623$582cc530$08864f90$@kapila@huawei.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox