Re: UUID generation functions

From: "Milen A(dot) Radev" <milen(at)radev(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: UUID generation functions
Date: 2008-06-02 22:24:19
Message-ID: g21ruk$qd9$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Milen A. Radev написа:
> John DeSoi написа:
>>
>> On Jun 2, 2008, at 3:19 PM, Kevin Grittner wrote:
>>
>>> Any chance of going to 8.3?
>>>
>>> http://www.postgresql.org/docs/8.3/interactive/datatype-uuid.html
>>
>> But 8.3 still does not generate UUIDs, only stores/compares them. From
>> the link above:
>>
>>> PostgreSQL provides storage and comparison functions for UUIDs, but
>>> the core database does not include any function for generating UUIDs,
>>> because no single algorithm is well suited for every application.
>>
>> For reasons mentioned by the other poster, it would be helpful if
>> PostgreSQL could generate them. Is there really more than 2 or 3
>> needed options where it would be huge code bloat to include sufficient
>> alternatives?
>
> http://www.postgresql.org/docs/8.3/static/uuid-ossp.html

My bad - just realised the OP most probably needs a Windows-compatible
solution and uuid-ossp is not.

--
Milen A. Radev

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Vishal Arora 2008-06-03 03:54:33 Re: statistics collector Log message
Previous Message Joshua D. Drake 2008-06-02 22:18:27 Re: UUID generation functions