Re: [BUGS] Error on reference to inherited primary key

2001-04-14 Thread Stephan Szabo
On Fri, 13 Apr 2001 [EMAIL PROTECTED] wrote: > Creating tables this way: > >A has a primary key >B inherits A >C references B > > results in an error message on the CREATE TABLE for C (ERROR: PRIMARY KEY for >referenced table "b" not found). > > To reproduce: > > create table A

[BUGS] Error on reference to inherited primary key

2001-04-14 Thread rpijlman
Creating tables this way: A has a primary key B inherits A C references B results in an error message on the CREATE TABLE for C (ERROR: PRIMARY KEY for referenced table "b" not found). To reproduce: create table A ( id integer primary key ); create table B ( dummy i