Re: UUID column as pimrary key? - Mailing list pgsql-general

From Chris Browne
Subject Re: UUID column as pimrary key?
Date
Msg-id 874o9o1ij1.fsf@cbbrowne.afilias-int.info
Whole thread Raw
In response to UUID column as pimrary key?  (Dennis Gearon <gearond@sbcglobal.net>)
List 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 by date:

Previous
From: Matthias Müller
Date:
Subject: Re: Como usar interval con un variable
Next
From: Gordon Shannon
Date:
Subject: Re: seg fault crashed the postmaster