Re: Check constraints on partition parents only? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Check constraints on partition parents only?
Date
Msg-id 7330.1311861043@sss.pgh.pa.us
Whole thread Raw
In response to Re: Check constraints on partition parents only?  (Nikhil Sontakke <nikhil.sontakke@enterprisedb.com>)
List pgsql-hackers
Nikhil Sontakke <nikhil.sontakke@enterprisedb.com> writes:
> What we need is to persist information of a particular constraint to be as
> specified - ONLY for this table. We could do that by adding a new column in
> pg_constraint like 'connoinh' or something, but I guess we would prefer not
> to get into the initdb business.

Uh, why not?  I trust you're not imagining this would get back-patched.

> Alternatively we could bring about the same
> by using a combination of conislocal and coninhcnt.

Ugh.  New column, please.  If you're wondering why, see the flak Robert
has been taking lately for replacing pg_class.relistemp.  Random changes
in the semantics of existing columns are trouble.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: error: could not find pg_class tuple for index 2662
Next
From: Robert Haas
Date:
Subject: Re: Check constraints on partition parents only?