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

From Hiroshi Saito
Subject Re: BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows
Date
Msg-id 039e01c8b63c$d0c95e90$60096cdb@IBMC9A0F63B40D
Whole thread Raw
In response to BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows  ("nicoanto" <na@mnm-consulting.com>)
Responses Re: BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows
List pgsql-bugs
Hi

Ahhh, This problem is reproduced. :-(
Sorry, I neglect it. Then, the following is considered as management.
http://winpg.jp/~saito/pg_work/OSSP_win32/getrand.c
I will consult to Ralf-san tonight. or weekend...

Regards,
Hiroshi Saito

----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>


> Peter Eisentraut <peter_e@gmx.net> writes:
>> 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.
>
>>> Also, OOSP-UUID does not depend on OpenSSL AFAIR.
>
>> Written by the same guy anyway. :-/
>
> Well, in any case this is surely a bug in the Windows port of
> libossp-uuid, and so needs to be reported to them not us.
>
> regards, tom lane

pgsql-bugs by date:

Previous
From: "Francisco Leovey"
Date:
Subject: BUG #4168: ECPG refuses datestyle SQL
Next
From: shohorab hossain
Date:
Subject: problem in installing pgsql-8.3.1