RE: [SQL] inheritance

From: Michael J Davis <michael(dot)j(dot)davis(at)tvguide(dot)com>
To: "'Ingrith Andrea Correa Vargas'" <i-correa(at)uniandes(dot)edu(dot)co>, pgsql-sql(at)postgreSQL(dot)org
Subject: RE: [SQL] inheritance
Date: 1999-05-05 04:58:53
Message-ID: 93C04F1F5173D211A27900105AA8FCFC145481@lambic.prevuenet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)uniandes(dot)edu(dot)co]
Sent: Tuesday, May 04, 1999 7:27 AM
To: pgsql-sql(at)postgreSQL(dot)org
Subject: [SQL] inheritance

Hello all!

I have a doubt: It´s possibble to insert a record in a child table
and to
have the same record inserted in the parent automatically?!...like
inheritance is...

TYhank you in advance,

Ingrith Correa :)

Browse pgsql-sql by date

  From Date Subject
Next Message Chris Bitmead 1999-05-05 05:12:07 Re: [SQL] inheritance
Previous Message Tom Lane 1999-05-04 23:50:58 Re: [SQL] How to find SQL Functions