Inheritance in PostgreSQL limitation

From: "Pedro Igor" <pedroigor(at)aip(dot)com(dot)br>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Inheritance in PostgreSQL limitation
Date: 2002-12-04 19:19:16
Message-ID: 000a01c29bca$0a245ed0$0b00010a@aip.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I have a database that uses inheritance, like this:
table2 inherits table1 where table1 has some relashionships (foreign key) with others four tables.
I trying to delete a record in table2 and i want all references in the tables that have the key of the table1 deleted.
I was reading some texts and found out that this is a PostgreSQL.
Has some one model some solution for this ?
I thinking of using triggers in the table2 that erases all references... This is a good idea or i just going to complicate ? Someone have a idea ?

Pedro Igor

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2002-12-04 20:02:43 Re: problem with view in 7.3
Previous Message javier garcia 2002-12-04 18:08:28 Query about table and catalog