Re: I find a bug (IMHO) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: I find a bug (IMHO)
Date
Msg-id 11638.1074008922@sss.pgh.pa.us
Whole thread Raw
In response to I find a bug (IMHO)  (Danger Dancer <rigalkin@luch.podolsk.ru>)
Responses Re: I find a bug (IMHO)
List pgsql-bugs
Danger Dancer <rigalkin@luch.podolsk.ru> writes:
> #little example
> create table a (d int check (d<5));
> create table b () inherits (a);
> alter table b drop constraint "a_d";

I think the bug is that it allowed you to do this.  You should not be
able to drop an inherited constraint, any more than you can drop an
inherited column.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Danger Dancer
Date:
Subject: I find a bug (IMHO)
Next
From: Tom Lane
Date:
Subject: Re: Probably a security bug in PostgreSQL rule system