Skip site navigation (1) Skip section navigation (2)

Re: Problem identifying constraints which should not be inherited

From: NikhilS <nikkhils(at)gmail(dot)com>
To: "Bruce Momjian" <bruce(at)momjian(dot)us>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Chris Fischer" <Chris(dot)Fischer(at)channeladvisor(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Problem identifying constraints which should not be inherited
Date: 2008-03-19 07:51:48
Message-ID: (view raw or whole thread)
Lists: pgsql-bugspgsql-hackers

On Fri, Mar 7, 2008 at 6:37 AM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:

> Added to TODO:
> >       o Require all CHECK constraints to be inherited
> >
> >
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.


Attachment: add_constraint_inheritance_bug.patch
Description: text/x-patch (5.8 KB)

In response to


pgsql-hackers by date

Next:From: Pavel StehuleDate: 2008-03-19 08:03:20
Subject: regress test problems
Previous:From: Tom LaneDate: 2008-03-19 07:06:52
Subject: Re: fast count(*) through statistics collector

pgsql-bugs by date

Next:From: Heikki LinnakangasDate: 2008-03-19 10:21:41
Subject: Re: 8.3 can't convert cyrillic text from 'iso-8859-5' to other cyrillic 8-bit encoding
Previous:From: kusumDate: 2008-03-19 05:33:45
Subject: BUG #4046: Error on connection

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group