RE: Re: postgres TODO

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема RE: Re: postgres TODO
Дата
Msg-id 001f01bfeba4$497791c0$2801007e@tpf.co.jp
обсуждение исходный текст
Ответ на Re: Re: postgres TODO  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Re: postgres TODO  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> -----Original Message-----
> From: pgsql-hackers-owner@hub.org [mailto:pgsql-hackers-owner@hub.org]On
> Behalf Of Tom Lane
> 
> it.  We already return the OID which is sufficient info to select the
> row again if you need it.  Returning the primary key would be
> considerably more work for no visible gain in functionality...
>

Is OID really sufficient ?
I've wondered why people love OID so much.
PostgreSQL provides no specific access method using OID.
We couldn't assume that every table has its OID index,
when we need to handle general resultsets.
In fact,I've never created OID indexes on user tables.

I've forgotten to propose that INSERT returns TID together
with OID before 7.0.  This has been in my mind since
I planned to implement Tid scan. Different from OID
,TID has its specific (fast) access method now.

Comments ?

Regards.

Hiroshi Inoue


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alfred Perlstein
Дата:
Сообщение: Connection pooling.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Vacuum only with 20% old tuples