Re: [GENERAL] UUID's as primary keys

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Jim Nasby <jnasby(at)pervasive(dot)com>, Thomas Hallgren <thomas(at)tada(dot)se>, Greg Stark <gsstark(at)mit(dot)edu>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: [GENERAL] UUID's as primary keys
Date: 2006-07-09 03:12:37
Message-ID: 200607082012.38029.jd@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Saturday 08 July 2006 14:54, Jim Nasby wrote:
> On Jul 6, 2006, at 4:02 PM, Thomas Hallgren wrote:
> >> In answer to your question, though my opinion carries no special
> >> weight at
> >> all, I would suggest adding a bare bones 16-byte data type to core
> >> and a
> >> second binary-compatible data type based on it that parsed/output
> >> as uuids.
> >> The extended uuid libraries should only go in pgfoundry/contrib.
> >
> > I second that.
>
> +1. If there's enough user demand we can look at adding the type to
> core (I don't see any real advantage to contrib over pgFoundry for
> this).

The advantage of contrib over pgFoundry is that it will be packaged by the
major distributions. Every distribution includes a package of the contrib
modules.

Sincerely,

Joshua D. Drake

--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adam 2006-07-09 04:28:42 Getting Primary Key Value After Insert
Previous Message Jim Nasby 2006-07-08 21:54:26 Re: [GENERAL] UUID's as primary keys

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-07-09 12:32:24 Re: lastval exposes information that currval does not
Previous Message Magnus Hagander 2006-07-08 22:16:10 Const warnings in psql