Nikhil Sontakke <nikhil(dot)sontakke(at)enterprisedb(dot)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
In response to
pgsql-hackers by date
|Next:||From: Robert Haas||Date: 2011-07-28 13:54:52|
|Subject: Re: Check constraints on partition parents only?|
|Previous:||From: Robert Haas||Date: 2011-07-28 13:46:41|
|Subject: Re: error: could not find pg_class tuple for index 2662|