Re: [PATCHES] Inherited Constraints - Mailing list pgsql-hackers

From Trent Shipley
Subject Re: [PATCHES] Inherited Constraints
Date
Msg-id 200512081829.02377.tshipley@deru.com
Whole thread Raw
In response to Re: [PATCHES] Inherited Constraints  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: [PATCHES] Inherited Constraints  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thursday 2005-12-08 15:47, Simon Riggs wrote:

> does of course already exist, so the following should cause dependency
> violation ERRORs:
> - omitting the CASCADE when attempting to delete parent constraint
> - attempting to drop the child constraint

Why should dropping the child constraint fail?  

Child tables are supposed to be able to over-ride parent constraints.  
Dropping a parent's constraint sounds like just a way to over-ride a 
constraint with no constraint at all.  (Making the column unconstrained.)


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: generic builtin functions
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Another encoding issue