Re: [HACKERS] Adding a field to each tuple

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: mgittens@gits.nl (Maurice Gittens)
Cc: hackers@postgreSQL.org
Date: 1998-02-25T19:04:42Z
Lists: 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)