agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Gerhard Daub <daub@ira.uka.de>
To: postgres@postgres.Berkeley.EDU
Subject: Class of a tupel within inheritance hierachy
Date: Mon, 16 May 1994 16:03:56 +0200
Message-ID: <"irafs2.ira.957:16.04.94.14.04.35"@ira.uka.de> (raw)


Hi everybody!


Is there a query to find out to which relation a tupel belongs in an
inheritance hierachy?



Example:

create father (...)
create son1 (...) inherits (father)
create son2 (...) inherits (father)

retrieve (tupel.all) from tupel in father* 
where ....



How can I determine whether 'tupel' belongs to father, son1 or son2 ?


Thanks for help!

Gerhard


P.S.: Sorry. I remember that this question was issued recently. But I
deleted the mail. :-(

===============================================================================
    To add/remove yourself from the POSTGRES mailing list: send mail with 
    the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

    If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
    a human will deal with it.  DO NOT post to the "postgres" mailing list.
===============================================================================



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: postgres@postgres.berkeley.edu
  Cc: daub@ira.uka.de
  Subject: Re: Class of a tupel within inheritance hierachy
  In-Reply-To: <"irafs2.ira.957:16.04.94.14.04.35"@ira.uka.de>

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

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