Re: I find a bug (IMHO)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Danger Dancer <rigalkin(at)luch(dot)podolsk(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: I find a bug (IMHO)
Date: 2004-01-13 15:48:42
Message-ID: 11638.1074008922@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Danger Dancer <rigalkin(at)luch(dot)podolsk(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-01-13 16:34:12 Re: Probably a security bug in PostgreSQL rule system
Previous Message Danger Dancer 2004-01-13 12:06:19 I find a bug (IMHO)