Re: Full GUID support - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: Full GUID support
Date
Msg-id 4E1C9CC4.4060801@commandprompt.com
Whole thread Raw
In response to Re: Full GUID support  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On 07/12/2011 11:56 AM, Josh Berkus wrote:
> Thom,
>
>> The functions to produce UUIDs are in contrib, but the UUID data type
>> itself is in core.  You get the type uuid whether you install the
>> contrib module or not.
>>
>> http://www.postgresql.org/docs/current/static/datatype-uuid.html
>
> Oh!
>
> I guess that shows you how much I use the type then.
>
> Well, in that case, this whole discussion is moot unless someone is
> offering to write us a UUID generator from scratch.   Is someone doing so?

I am reaching back into my mental archives for when we first decided to 
implement a UUID datatype. As I recall we purposely did not include the 
generators in core because every language already has their own 
generators, popular languages anyway.

I think we should just leave it as be, note to use your native language 
generator OR use the contributed modules.

JD


-- 
Command Prompt, Inc. - http://www.commandprompt.com/
PostgreSQL Support, Training, Professional Services and Development
The PostgreSQL Conference - http://www.postgresqlconference.org/
@cmdpromptinc - @postgresconf - 509-416-6579


pgsql-hackers by date:

Previous
From: Dean Rasheed
Date:
Subject: Re: Deferred partial/expression unique constraints
Next
From: Alex Hunsaker
Date:
Subject: Re: Arrays of Records in PL/Perl