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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows
Дата
Msg-id 200805141734.51653.peter_e@gmx.net
обсуждение исходный текст
Ответ на BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows  ("nicoanto" <na@mnm-consulting.com>)
Ответы Re: BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Список pgsql-bugs
Am Mittwoch, 14. Mai 2008 schrieb nicoanto:
> I am using the 8.3.1 version of PostgreSQL. I wrote a simple function on
> order to generate UUID values using the UUID-OSSP module
> The code of the function is the following one :
>
>     CREATE FUNCTION uuidgen() RETURNS CHAR(36) AS $$
>        BEGIN
>           RETURN uuid_generate_v4()::CHAR(36);
>        END;
>     $$ LANGUAGE 'plpgsql';
>
>
>
> When using it in a loop, I have got 2 different behaviors :
> * on an Ubuntu platform, the generated UUID values are unique
> * on a Windows platform, the generated UUID values are not unique most of
> the time.
>
> Do you have any idea on how to fix that bug on a Windows platform ?

Congratulations, you have just independently rediscovered the Debian OpenSSL
vulnerability, see http://www.debian.org/security/2008/dsa-1571.  Get a new
libssl package from the Ubuntu security repository.  It's not a Windows bug;
the numbers are supposed to be different.

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

Предыдущее
От: Wojciech Strzałka
Дата:
Сообщение: Re: Problem with TOAST tables when removing TOASTable column
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows