Re: Problem identifying constraints which should not be inherited - Mailing list pgsql-bugs

From NikhilS
Subject Re: Problem identifying constraints which should not be inherited
Date
Msg-id d3c4af540803190051u6b0532b4u31104838116f5a47@mail.gmail.com
Whole thread Raw
In response to Re: Problem identifying constraints which should not be inherited  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Problem identifying constraints which should not be inherited
List pgsql-bugs
Hi,

On Fri, Mar 7, 2008 at 6:37 AM, Bruce Momjian <bruce@momjian.us> wrote:

Added to TODO:

>       o Require all CHECK constraints to be inherited
>
>         http://archives.postgresql.org/pgsql-bugs/2007-04/msg00026.php


PFA, a small patch attached which should fix this. I have made relevant changes in the relevant regression files too.

I was wondering though if there are other locations where we might need to add checks to ensure that ALTER TABLE ONLY parentrel operations are ok? I did see checks for this in some other operations like ADD COLUMN already in place too.

Regards,
Nikhils
--
EnterpriseDB http://www.enterprisedb.com
Attachment

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #4044: Incorrect RegExp substring Output
Next
From: "kusum"
Date:
Subject: BUG #4046: Error on connection