pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Bitmead <chris.bitmead@bigfoot.com>
To: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] inheritance
Date: Wed, 05 May 1999 05:12:07 +0000
Message-ID: <372FD327.CB1C787E@bigfoot.com> (raw)
References: <Pine.GSO.3.96.990504082455.18086D-100000@isis>

Ingrith Andrea Correa Vargas wrote:
> 
> 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...

I'm not sure exactly what you mean. If you insert a record into a child
table and then you go SELECT * from parent*
(note the last "*") then you get both parent and child data from the one
query. Is that what you realy want or do you mean something else?



view thread (18+ messages)  latest in thread

Message-ID: <372FD327.CB1C787E@bigfoot.com>
Permalink:  ../372FD327.CB1C787E@bigfoot.com/
Also on:    postgresql.org/message-id/372FD327.CB1C787E@bigfoot.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: chris.bitmead@bigfoot.com
  Subject: Re: [SQL] inheritance
  In-Reply-To: <372FD327.CB1C787E@bigfoot.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox