Re: [BUGS] Foreign keys referencing parent table fails on insert

2004-12-03 Thread postgresbugs
Stephan Szabo wrote: On Thu, 2 Dec 2004, postgresbugs wrote: On Wed, 1 Dec 2004, Stephan Szabo wrote: On Wed, 1 Dec 2004, postgresbugs wrote: > Foreign keys referencing parent table fails on insert if the key is in the table that inherits the parent table.

Re: [BUGS] Foreign keys referencing parent table fails on insert

2004-12-02 Thread Stephan Szabo
On Thu, 2 Dec 2004, postgresbugs wrote: > > On Wed, 1 Dec 2004, Stephan Szabo wrote: > > On Wed, 1 Dec 2004, postgresbugs wrote: > > > Foreign keys referencing parent table fails on insert if the key is in > > the table that inherits the parent table. > > > Unfortunately, primary keys, unique

Re: [BUGS] Foreign keys referencing parent table fails on insert

2004-12-02 Thread postgresbugs
On Wed, 1 Dec 2004, Stephan Szabo wrote: On Wed, 1 Dec 2004, postgresbugs wrote: > Foreign keys referencing parent table fails on insert if the key is in > the table that inherits the parent table. Unfortunately, primary keys, unique constraints and foreign keys do not in

Re: [BUGS] Foreign keys referencing parent table fails on insert

2004-12-01 Thread Stephan Szabo
On Wed, 1 Dec 2004, postgresbugs wrote: > Foreign keys referencing parent table fails on insert if the key is in > the table that inherits the parent table. Unfortunately, primary keys, unique constraints and foreign keys do not inherit to children in a meaningful fashion. It's one of the big de

[BUGS] Foreign keys referencing parent table fails on insert

2004-12-01 Thread postgresbugs
Foreign keys referencing parent table fails on insert if the key is in the table that inherits the parent table. I am using psql (PostgreSQL) 7.4.2. I have created a trivial case for an example. create table trivial1 (id numeric primary key, numval numeric); create table trivial2 (textval text)