Re: ADD/DROP constraints - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ADD/DROP constraints
Date
Msg-id 2042.1149803574@sss.pgh.pa.us
Whole thread Raw
In response to Re: ADD/DROP constraints  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-hackers
"Jim C. Nasby" <jnasby@pervasive.com> writes:
> That could also break some partitioning schemes; I don't think it's a
> given that parents and children have matching constraints, and afaik a
> parent can have constraints that a child doesn't.

Not unless you drop the inherited constraint; the fact that you can is a
bug we are going to fix someday soon.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: ADD/DROP constraints
Next
From: "Jim C. Nasby"
Date:
Subject: Re: That EXPLAIN ANALYZE patch still needs work