Tom Lane wrote: > Danger Dancer <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster