pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John DeSoi <desoi@pgedit.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Gordon Hyatt <Gordon.Hyatt@joslin.harvard.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: UUID generation functions
Date: Mon, 2 Jun 2008 18:11:47 -0400
Message-ID: <9B722936-625A-4366-B119-6AA178372E48@pgedit.com> (raw)
In-Reply-To: <484401E9.EE98.0025.0@wicourts.gov>
References: <85AC2B55AEF4CC41A2145B60C7F88074026535@JDCMAIL4.joslin.harvard.edu>
	<484401E9.EE98.0025.0@wicourts.gov>


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?

John DeSoi, Ph.D.







view thread (10+ messages)  latest in thread

Message-ID: <9B722936-625A-4366-B119-6AA178372E48@pgedit.com>
Permalink:  ../9B722936-625A-4366-B119-6AA178372E48@pgedit.com/
Also on:    postgresql.org/message-id/9B722936-625A-4366-B119-6AA178372E48@pgedit.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: desoi@pgedit.com, Kevin.Grittner@wicourts.gov, Gordon.Hyatt@joslin.harvard.edu
  Subject: Re: UUID generation functions
  In-Reply-To: <9B722936-625A-4366-B119-6AA178372E48@pgedit.com>
  References: <85AC2B55AEF4CC41A2145B60C7F88074026535@JDCMAIL4.joslin.harvard.edu> <484401E9.EE98.0025.0@wicourts.gov> <9B722936-625A-4366-B119-6AA178372E48@pgedit.com>

* 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