pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Milen A. Radev <milen@radev.net>
To: pgsql-admin@postgresql.org
Subject: Re: UUID generation functions
Date: Tue, 03 Jun 2008 01:24:19 +0300
Message-ID: <g21ruk$qd9$1@ger.gmane.org> (raw)
In-Reply-To: <g21rdi$od9$1@ger.gmane.org>
References: <85AC2B55AEF4CC41A2145B60C7F88074026535@JDCMAIL4.joslin.harvard.edu>
	<484401E9.EE98.0025.0@wicourts.gov>
	<9B722936-625A-4366-B119-6AA178372E48@pgedit.com>
	<g21rdi$od9$1@ger.gmane.org>

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




view thread (10+ messages)  latest in thread

Message-ID: <g21ruk$qd9$1@ger.gmane.org>
Permalink:  ../g21ruk$qd9$1@ger.gmane.org/
Also on:    postgresql.org/message-id/g21ruk$qd9$1@ger.gmane.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: milen@radev.net
  Subject: Re: UUID generation functions
  In-Reply-To: <g21ruk$qd9$1@ger.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox