I haven't been able to find anywhere, easily, in the documentation using google
where a list of allowed data types for primary keys is.
So, UUIDs can be primary keys?
Any issues wtih them on sorting or paging of index tables, etc.?
Also, the documentation says that UUIDs are 128 bit value, but never explicitly
says that's how it's stored. Nor does it use one of the nice, blue headered
tables for UUID (or ENUM) showing storage and other attributes as it does for
numeric, character,boolean, date/time, binary, monetary, geometric, or network
It is always a good idea to learn from your own mistakes. It is usually a better
idea to learn from others’ mistakes, so you do not have to make them yourself.
EARTH has a Right To Life,
otherwise we all die.
pgsql-general by date
|Next:||From: David Wall||Date: 2011-01-04 19:16:52|
|Subject: Re: UUID column as pimrary key?|
|Previous:||From: Adrian Klaver||Date: 2011-01-04 18:49:35|
|Subject: Re: Re: Warning: database postgres must be vacuumed within