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