Re: [PATCHES] Patch for UUID datatype (beta)

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Harald Armin Massa <haraldarminmassa(at)gmail(dot)com>
Cc: Gevik Babakhani <pgdev(at)xs4all(dot)nl>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] Patch for UUID datatype (beta)
Date: 2006-09-18 15:53:54
Message-ID: 20060918155354.GG8796@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Mon, Sep 18, 2006 at 05:29:34PM +0200, Harald Armin Massa wrote:
> I would really like PostgreSQL to include an uuid-generation function
> crafted along the recommendations in rfc4122 or ISO/IEC 9834-8; so those
> UUIDs have a "ISO/IEC-defined uniqueness" or at least a "ISO/IEC-defined
> extreme likelyness to be unique"

The code to get things like the MAC address is going to be a pile of
very OS specific code, which I really don't think is in the realm of
code postgresql wants to maintain. The easier and better solution is to
include a module in contrib (at best) that calls some standard
cross-platform library to do the job.

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-hackers by date

  From Date Subject
Next Message Greg Sabino Mullane 2006-09-18 16:03:41 Re: information_schema vs temp tables (was Re: [COMMITTERS] pgsql: Sequences were not being shown due to the use of lowercase `s`)
Previous Message Bruce Momjian 2006-09-18 15:52:17 Re: 8.2 beta blockers

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-09-18 16:15:51 Re: [PATCHES] Patch for UUID datatype (beta)
Previous Message Harald Armin Massa 2006-09-18 15:29:34 Re: [PATCHES] Patch for UUID datatype (beta)