Re: Proposal for GUID datatype

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Jan de Visser <jdevisser(at)digitalfairway(dot)com>
Cc: mark(at)mark(dot)mielke(dot)cc, pgsql-hackers(at)postgresql(dot)org, Gevik Babakhani <pgdev(at)xs4all(dot)nl>
Subject: Re: Proposal for GUID datatype
Date: 2006-09-09 05:06:08
Message-ID: 20060909050608.GP5892@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jan de Visser wrote:
> On Saturday 09 September 2006 00:42, mark(at)mark(dot)mielke(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message mark 2006-09-09 05:33:31 Re: Proposal for GUID datatype
Previous Message Jan de Visser 2006-09-09 05:03:24 Re: Proposal for GUID datatype