pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: Amit kapila <amit.kapila@huawei.com>
Cc: miroslav.sulc@fordfrog.com <miroslav.sulc@fordfrog.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #6712: PostgreSQL 9.2 beta2: alter table drop constraint does not work on inherited master table
Date: Thu, 19 Jul 2012 07:53:15 -0400
Message-ID: <20120719115315.GB28236@tornado.leadboat.com> (raw)
In-Reply-To: <6C0B27F7206C9E4CA54AE035729E9C382851E5AB@szxeml509-mbs>
References: <20120715212344.GA7475@tornado.leadboat.com>
	<6C0B27F7206C9E4CA54AE035729E9C382851E5AB@szxeml509-mbs>

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.



view thread (14+ messages)  latest in thread

Message-ID: <20120719115315.GB28236@tornado.leadboat.com>
Permalink:  ../20120719115315.GB28236@tornado.leadboat.com/
Also on:    postgresql.org/message-id/20120719115315.GB28236@tornado.leadboat.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: noah@leadboat.com, amit.kapila@huawei.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: <20120719115315.GB28236@tornado.leadboat.com>
  References: <20120715212344.GA7475@tornado.leadboat.com> <6C0B27F7206C9E4CA54AE035729E9C382851E5AB@szxeml509-mbs> <20120719115315.GB28236@tornado.leadboat.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