Re: DROP CONSTRAINT patch - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: DROP CONSTRAINT patch
Date
Msg-id 200105240449.f4O4nWE02869@candle.pha.pa.us
Whole thread Raw
In response to RE: DROP CONSTRAINT patch  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
> > You can send me a totally new patch if you wish.  That way, you can
> > throw the whole patch to the patches list for comment and improvement.
> 
> I'll do that.
> 
> > Please keep going and resolve these inheritance issues.
> 
> It's not that there's inheritance issues in my patch.  I am actually certain
> that it will work fine with the ONLY keyword.  However, I will make some
> changes and submit it to pgsql-patches.
> 
> The problem is that although my patch can quite happily remove all
> constraints of the same name from all the child tables, the problem is - can
> we be sure that all the constraints with that name are actually inherited
> from the parent constraint.  Answer - no.  At least, not until the add
> constraint stuff is all fixed.  So maybe I will just hash out inheritance
> support for the time being.

Oh, I was hoping you could at least list _all_ the inheritance issues
for the TODO list.  Seems you have found some already.  If we have that,
we can get a plan for someone to finally fix them all.

What we really need is a list, and a discussion, and decisions, rather
than just letting it lay around.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: RE: DROP CONSTRAINT patch
Next
From: Stephan Szabo
Date:
Subject: RE: ADD/DROP CONSTRAINT and inheritance