Re: BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows
Дата
Msg-id 20080514161020.GA9838@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
Peter Eisentraut wrote:
> Am Mittwoch, 14. Mai 2008 schrieb Alvaro Herrera:
> > Hmm, surely the problem is unrelated?  He gets the same numbers on
> > _Windows_, whereas Ubuntu shows the good behavior.
>
> Oh, I read it backwards.  So then the random number generator on Windows is
> the problem in this case.

Right.

Actually what I would suggest is using the Windows API for generating
UUIDs instead of OOSP-UUID.

> > Also, OOSP-UUID does not depend on OpenSSL AFAIR.
>
> Written by the same guy anyway. :-/

Oh, right ...

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows