Re: Full GUID support

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Full GUID support
Date: 2011-07-12 19:13:08
Message-ID: 4E1C9CC4.4060801@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex Hunsaker 2011-07-12 19:19:43 Re: Arrays of Records in PL/Perl
Previous Message Dean Rasheed 2011-07-12 18:57:44 Re: Deferred partial/expression unique constraints