Re: I find a bug (IMHO)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Danger Dancer <rigalkin(at)luch(dot)podolsk(dot)ru>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: I find a bug (IMHO)
Date: 2004-02-11 22:04:32
Message-ID: 200402112204.i1BM4Wc20457@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> 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.

Added to TODO:

o Disallow dropping of an inherited constraint

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2004-02-11 22:29:09 Re: [BUGS] Bug in pg_autovacuum ?
Previous Message PostgreSQL Bugs List 2004-02-11 21:32:50 BUG #1080: Ref #1045 resolved