You could use a trigger or a rule. Please see the documentation for
details. With a trigger you could look to see if the parent record existed
before inserting it.
-----Original Message-----From: Ingrith Andrea Correa Vargas [SMTP:i-correa@uniandes.edu.co]Sent: Tuesday, May
04,1999 7:27 AMTo: pgsql-sql@postgreSQL.orgSubject: [SQL] inheritance
Hello all!
I have a doubt: It´s possibble to insert a record in a child table
and tohave the same record inserted in the parent automatically?!...likeinheritance is...
TYhank you in advance,
Ingrith Correa :)