Re: [DOCS] uuid type not documented

From: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Gevik Babakhani <pgdev(at)xs4all(dot)nl>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [DOCS] uuid type not documented
Date: 2007-04-10 20:04:36
Message-ID: 461BEDD4.9060709@phlo.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

Neil Conway wrote:
> On Tue, 2007-04-10 at 18:28 +0200, Peter Eisentraut wrote:
>> The problem is that most of the standard methods are platform dependent, as
>> they require MAC addresses or a "good" random source, for instance.
>
> http://archives.postgresql.org/pgsql-patches/2007-01/msg00392.php
>
> ISTM random() or similar sources is a sufficient PSRNG for the purposes
> of UUID generation -- I can't see anything in the RFC that would
> contradict that.

Maybe a short-term solution could be a UUID-generated function that
takes some kind of seed as a parameter. People not concerned about
collisons could just pass some random value, while others could use
the mac-address of the client or something similar.

greetings, Florian Pflug

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2007-04-10 21:25:05 Re: [DOCS] uuid type not documented
Previous Message Andrew Dunstan 2007-04-10 19:49:08 Re: [DOCS] uuid type not documented

Browse pgsql-hackers by date

  From Date Subject
Next Message Kris Kennaway 2007-04-10 20:09:44 Re: Anyone interested in improving postgresql scaling?
Previous Message Florian G. Pflug 2007-04-10 20:00:29 Re: "select ('{}'::text[])[1]" returns NULL -- is it correct?