Re: Proposal for GUID datatype - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Proposal for GUID datatype
Date
Msg-id 20060909050608.GP5892@alvh.no-ip.org
Whole thread Raw
In response to Re: Proposal for GUID datatype  (Jan de Visser <jdevisser@digitalfairway.com>)
List pgsql-hackers
Jan de Visser wrote:
> On Saturday 09 September 2006 00:42, mark@mark.mielke.cc wrote:
> > But if the input isn't 32 hexadecimal characters - I don't see how
> > it fits the UUID/GUID type.
> 
> Again, it wasn't about that particular *value* (which, as I concurred, is not 
> a [GU]UID). It was about the fact that different tools spit out stuff in 
> different formats, and that it would suck royally if you would have to 
> convert because Gevik didn't think of the particular format of your 
> particular tool. 
> 
> But I guess your suggestion of just ignoring punctuation would work just fine.

Would it?  The output you showed was

3b732da7:10d9029b3eb:-8000

What to do with the :-8000 part?  Do you discard the whole :-8000?  Do
you discard the :- and keep the 8000?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Jan de Visser
Date:
Subject: Re: Proposal for GUID datatype
Next
From: mark@mark.mielke.cc
Date:
Subject: Re: Proposal for GUID datatype