Re: Change sort order on UUIDs? - Mailing list pgsql-hackers

From Michael Glaesemann
Subject Re: Change sort order on UUIDs?
Date
Msg-id 45CB711F-7A29-406F-BBAE-75E1FB0276BE@seespotcode.net
Whole thread Raw
In response to Re: Change sort order on UUIDs?  (mark@mark.mielke.cc)
Responses Re: Change sort order on UUIDs?  (mark@mark.mielke.cc)
Re: Change sort order on UUIDs?  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Jun 14, 2007, at 19:04 , mark@mark.mielke.cc wrote:

> For UUID, I
> would value random access before sequential performance. Why would
> anybody scan UUID through the index in "sequential" order?

AIUI, to allow UUID columns to be indexed using BTREE, there needs to  
be some ordering defined. So regardless of what this ordering is,  
doesn't there need to be some order? And as a (primary?) purpose of  
UUIDs is to be (universally) unique, and the implementation of  
uniqueness constraints in PostgreSQL is based on BTREE indexes, this  
makes the necessity of ordering doubly so. Or have I missed something?

Michael Glaesemann
grzm seespotcode net




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: tsearch_core patch: permissions and security issues
Next
From: "Robert Wojciechowski"
Date:
Subject: Re: Change sort order on UUIDs?