agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Paul M. Aoki <aoki@postgres.Berkeley.EDU>
To: Aaron Roydhouse <Aaron.Roydhouse@Comp.VUW.AC.NZ>
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: Discovering the class from an object identifier
Date: Wed, 11 May 94 19:16:16 -0700
Message-ID: <199405120216.TAA03074@faerie.CS.Berkeley.EDU> (raw)
In-Reply-To: <199405112259.KAA04148@downstage.comp.vuw.ac.nz>
Aaron Roydhouse <Aaron.Roydhouse@Comp.VUW.AC.NZ> writes:
> Given the oid of an instance, how can I discover the most specific
> class the instance belongs to?
> Alternatively, how can I retrieve an instance identified by an oid,
> which knowing the classes it belongs to?
> I've obviously trying to avoid querying every class in hope.
the commercial derivative of postgres splits oids into a class
identifier and an instance identifier, but postgres itself just
assigned oids sequentially in a given database.
--
Paul M. Aoki | CS Div., Dept. of EECS, UCB | aoki@postgres.Berkeley.EDU
| Berkeley, CA 94720 | ...!uunet!ucbvax!aoki
===============================================================================
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: aoki@postgres.Berkeley.EDU, Aaron.Roydhouse@Comp.VUW.AC.NZ
Subject: Re: Discovering the class from an object identifier
In-Reply-To: <199405120216.TAA03074@faerie.CS.Berkeley.EDU>
* 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