Re: Proposal: OID wraparound: summary and proposal

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Proposal: OID wraparound: summary and proposal
Дата
Msg-id 4619.997197743@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Proposal: OID wraparound: summary and proposal  (Neil Tiffin <ntiffin@earthlink.net>)
Ответы Re: Proposal: OID wraparound: summary and proposal  (Neil Tiffin <ntiffin@earthlink.net>)
Список pgsql-hackers
Neil Tiffin <ntiffin@earthlink.net> writes:
> I have not even considered multiple database servers running 
> different database, which is our design goal.  In this case we would 
> like to have a slimmed down (and blazingly fast) PostgreSQL server in 
> which we manage the uid in our middleware.  This is because the uid 
> must be unique accross all servers and database vendors.

Given those requirements, it seems like your UID *must* be an
application-defined column; there's no way you'll get a bunch of
different database vendors to all sign on to your approach to UIDs.

So in reality, I think the feature you want is precisely to be able
to suppress Postgres' automatic OID generation on your table(s), since
it's of no value to you.  The number of cycles saved per insert isn't
going to be all that large, but they'll add up...
        regards, tom lane


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

Предыдущее
От: Fernando Nasser
Дата:
Сообщение: Re: OID wraparound: summary and proposal
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: OID wraparound: summary and proposal