Re: [HACKERS] Adding a field to each tuple

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: mgittens(at)gits(dot)nl (Maurice Gittens)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Adding a field to each tuple
Date: 1998-02-25 19:04:42
Message-ID: 199802251904.OAA14189@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)candle(dot)pha(dot)pa(dot)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)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-02-25 19:08:26 Re: [HACKERS] initdb problem
Previous Message Bruce Momjian 1998-02-25 19:03:06 Re: [HACKERS] ecpg in docs