Re: Table Inheritance and foreign key problem.

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Kostas Maistrelis <pinakas(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Table Inheritance and foreign key problem.
Date: 2006-07-23 14:17:51
Message-ID: 20060723141751.GA32088@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Kostas Maistrelis wrote:
> I make 3 tables with this senario:
> b (id) extends a (id)
> and
> c (id) references a (id)
>
> i insert one record to table b (id = 1)
> and then i try to insert a record in table C (id = 1)
> but it is not possible, i get error
> (look at the sql statements above)

This is a known, documented shortcoming of our inheritance
implementation.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joachim Wieland 2006-07-23 15:19:27 Re: ECPG. Badly stuck
Previous Message Kostas Maistrelis 2006-07-23 11:59:53 Table Inheritance and foreign key problem.