Re: UUID column as pimrary key?

Поиск
Список
Период
Сортировка
От Chris Browne
Тема Re: UUID column as pimrary key?
Дата
Msg-id 874o9o1ij1.fsf@cbbrowne.afilias-int.info
обсуждение исходный текст
Ответ на UUID column as pimrary key?  (Dennis Gearon <gearond@sbcglobal.net>)
Список pgsql-general
d.wall@computer.org (David Wall) writes:
> We're using UUID for primary keys in PG 8.4 without any issues.  I
> have no real insights into the details or performance issues, but
> always figured it was stored as a binary 128-bit value, but with added
> benefits of being able to enter and view them using a standard string
> format.  We don't sort them as they have no real meaning for us.

In principle, this might be a reason to want to do the long-outstanding
work on hash indexes; with UUIDs, it mayn't be useful to sort the
values, but you *do* want to be able to validate that they're unique.
--
output = ("cbbrowne" "@" "gmail.com")
http://www3.sympatico.ca/cbbrowne/
"Computers are  like air conditioners:  They stop working  properly if
you open windows."

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

Предыдущее
От: Matthias Müller
Дата:
Сообщение: Re: Como usar interval con un variable
Следующее
От: Gordon Shannon
Дата:
Сообщение: Re: seg fault crashed the postmaster