Re: [HACKERS] Adding a field to each tuple - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Adding a field to each tuple
Date
Msg-id 199802251904.OAA14189@candle.pha.pa.us
Whole thread Raw
In response to Adding a field to each tuple  ("Maurice Gittens" <mgittens@gits.nl>)
List pgsql-hackers
>
> Ok,
>
> I decided to learn more about postgresql.
>
> My challenge:
> Given an oid, efficiently determine the most derived class the instance
> belongs to.
>
> My intended solution is to add an extra attribute to each tuple
> which contains the oid of the most derived class it belongs to.

This is a lot of overhead for places it is not needed.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] ecpg in docs
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] initdb problem