Re: [PATCHES] Patch for UUID datatype (beta) - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: [PATCHES] Patch for UUID datatype (beta)
Date
Msg-id 20060918155354.GG8796@svana.org
Whole thread Raw
In response to Re: [PATCHES] Patch for UUID datatype (beta)  ("Harald Armin Massa" <haraldarminmassa@gmail.com>)
List pgsql-hackers
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@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: 8.2 beta blockers
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: information_schema vs temp tables (was Re: [COMMITTERS] pgsql: Sequences were not being shown due to the use of lowercase `s`)