Re: [HACKERS] Adding a field to each tuple

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Adding a field to each tuple
Дата
Msg-id 199802251904.OAA14189@candle.pha.pa.us
обсуждение исходный текст
Ответ на Adding a field to each tuple  ("Maurice Gittens" <mgittens@gits.nl>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] ecpg in docs
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] initdb problem