From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Bernd Helmle <mailings(at)oopsware(dot)de> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, wangshuo(at)highgo(dot)com(dot)cn, David Johnston <polobo(at)yahoo(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>, Jeff Davis <pgsql(at)j-davis(dot)com> |
Subject: | Re: ENABLE/DISABLE CONSTRAINT NAME |
Date: | 2013-09-25 02:40:58 |
Message-ID: | 1380076858.1440.23.camel@vanquo.pezone.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, 2013-09-24 at 11:58 +0200, Bernd Helmle wrote:
> Hmm not sure i understand this argument either: this patch doesn't
> allow disabling a primary key. It only supports FKs and CHECK
> constraints explicitly.
Well, as soon as the patch for cataloging not-null constraints as check
constraints is available, it will be possible to create views that
depend functionally on check constraints. Then you'll have the same
problem there.
It's also not clear why this patch only supports foreign keys and check
constraints. Maybe that's what was convenient to implement, but it's
not a principled solution to the general issue that constraints can be
involved in dependencies.
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2013-09-25 02:49:57 | Re: UTF8 national character data type support WIP patch and list of open issues. |
Previous Message | Peter Geoghegan | 2013-09-25 02:15:27 | Re: INSERT...ON DUPLICATE KEY LOCK FOR UPDATE |