Re: OID wraparound (was Re: pg_depend)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: OID wraparound (was Re: pg_depend)
Дата
Msg-id 23456.995552188@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: OID wraparound (was Re: pg_depend)  (Hiroshi Inoue <Inoue@tpf.co.jp>)
Список pgsql-hackers
Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> Tom Lane wrote:
>> Could you use CTID instead of OID?

> I am using both.
> TIDs for fast access and OIDs for identification.
> Unfortunately TIDs are transient and they aren't
> that reliable as for identification.

Hmm ... within a transaction I think they'd be reliable enough,
but for long-term ID I agree they're not.  What behavior do you
need exactly; do you need to be able to find the updated version
of a row you originally inserted?  What would it take to use a
user-defined primary key instead of OID?
        regards, tom lane


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

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: pg_depend
Следующее
От: Adrian Phillips
Дата:
Сообщение: Re: MySQL Gemini code