Re: Review of patch renaming constraints - Mailing list pgsql-hackers

From Nikhil Sontakke
Subject Re: Review of patch renaming constraints
Date
Msg-id CANgU5ZdyG-3wS13Xcea8m23E-v+mKxeJsrYFVAQVNxVdsr+KSw@mail.gmail.com
Whole thread Raw
In response to Re: Review of patch renaming constraints  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Review of patch renaming constraints  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
 
> And primary keys are anyways not inherited. So why is the conisonly
> field interfering in rename? Seems quite orthogonal to me.

In the past, each kind of constraint was either always inherited or
always not, implicitly.  Now, for check constraints we can choose what
we want, and in the future, perhaps we will want to choose for primary
keys as well.  So having conisonly is really a good step into that
future, and we should use it uniformly.

 
Agreed. And right now primary key constraints are not marked as only making them available for inheritance in the future. Or you prefer it otherwise? 

Anyways, fail to see the direct connection between this and renaming. Might have to look at this patch for that.

Regards,
Nikhils

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Review of patch renaming constraints
Next
From: Greg Smith
Date:
Subject: Re: Patch review for logging hooks (CF 2012-01)