Re: [DOCS] uuid type not documented

Поиск
Список
Период
Сортировка
От Florian G. Pflug
Тема Re: [DOCS] uuid type not documented
Дата
Msg-id 461BEDD4.9060709@phlo.org
обсуждение исходный текст
Ответ на Re: [DOCS] uuid type not documented  (Neil Conway <neilc@samurai.com>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Anyone interested in improving postgresql scaling?
Следующее
От: "Guillaume Smet"
Дата:
Сообщение: Re: Idle idea for a feature