Re: UUID column as pimrary key?

Поиск
Список
Период
Сортировка
Искать
От
Scott Ribe
Тема
Re: UUID column as pimrary key?
Дата
Msg-id
ED5F8B5E-969D-427C-80A0-FD7ED7598E93@elevated-dev.com
Ответ на
Список
Дерево обсуждения
Re: UUID column as pimrary key? Jasen Betts <jasen@xnet.co.nz>
On Jan 5, 2011, at 8:03 AM, Mike Christensen wrote:

> As long as all your UUIDs are generated with the same algorithm, they
> are guaranteed to be unique.

There is no requirement that they be generated with the same algorithm in order to be unique. A MAC/time-based UUID cannot duplicate a random one, and vice versa. (Also applies to the 3rd flavor of UUID whose details I do not remember.)

-- 
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




В списке pgsql-general по дате отправления
От: Bill Moran
Дата:
От: Scott Ribe
Дата:
FAQ