Re: [GENERAL] UUID's as primary keys

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: mark(at)mark(dot)mielke(dot)cc
Cc: Thomas Hallgren <thomas(at)tada(dot)se>, Greg Stark <gsstark(at)mit(dot)edu>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] UUID's as primary keys
Date: 2006-07-06 16:38:06
Message-ID: 20060706163806.GB20946@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Thu, Jul 06, 2006 at 12:12:18PM -0400, mark(at)mark(dot)mielke(dot)cc wrote:
> Please answer the below questions, and state whether your opinion is
> just an opinion, or whether you are stating it as a PostgreSQL
> maintainer and it is law. If you wish, you can rank preferences.

Do I have to pick only one? I'd choose firstly for:

1c) UUID, with only encode/decode/indexable - generic except for the
name of the type, and the encoding format.
2a) In core first

And in addation to that:

1b) UUID, with only basic generation functions +
encode/decode/indexable
2b) In contrib first.

And maybe finally:

1a) UUID, with all functions
2c) In pgfoundry first.

IOW, I'm not so convinced that full UUID support should appear in core,
but I think a 16-byte type should be available in core, with basic UUID
functions in contrib and the full suite on pgfoundry.

But that's just my opinion ofcourse.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Florian G. Pflug 2006-07-06 16:39:53 Backing up the currently used wal segment
Previous Message mark 2006-07-06 16:12:18 Re: [GENERAL] UUID's as primary keys

Browse pgsql-hackers by date

  From Date Subject
Next Message Jochem van Dieten 2006-07-06 16:42:05 Re: [GENERAL] UUID's as primary keys
Previous Message mark 2006-07-06 16:12:18 Re: [GENERAL] UUID's as primary keys