Re: Review of patch renaming constraints
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Nikhil Sontakke <nikkhils@gmail.com>
Cc: Joshua Berkus <josh@agliodbs.com>, pgsql-hackers@postgresql.org
Date: 2012-01-20T05:09:24Z
Lists: pgsql-hackers
On fre, 2012-01-20 at 09:08 +0530, Nikhil Sontakke wrote: > > Umm, conisonly is set as false from primary key entries in > pg_constraint. > 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.