From: | Meetesh Karia <meetesh(dot)karia(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, meetesh(dot)karia(at)alumni(dot)duke(dot)edu, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: UUIDs generated using ossp-uuid on windows not unique |
Date: | 2008-06-17 10:58:19 |
Message-ID: | 485798CB.2090505@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Using the dll from the link that Hiroshi posted actually fixed v1 in my
case (though perhaps it's just an unrelated side-effect caused by using
a different random number generator which might be slower???). Thanks!
Anyhow, I would have expected v1 to work fine in this case too as the
ossp-uuid implementation has provisions for preventing overlapping ids
when they're generated in rapid succession. And, as I was only
generating about 1 uuid/ms, I didn't think that would be pushing the
limits of the algorithm.
Thanks again everyone,
Meetesh
Tom Lane wrote:
> Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc> writes:
>
>> Tom Lane wrote:
>>
>>> Perhaps the v4 generation method would work better for you?
>>>
>
>
>> actually this has been reported before and seems to be an issue in the
>> windows port of the ossp-uuid library:
>> http://archives.postgresql.org/pgsql-bugs/2008-05/msg00059.php
>>
>
> Oh, so that doesn't work either :-(. However, at least it's been
> fixed upstream:
> http://archives.postgresql.org/pgsql-bugs/2008-05/msg00070.php
> http://cvs.ossp.org/pkg/lib/uuid/ChangeLog
>
> regards, tom lane
>
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2008-06-17 11:01:53 | Re: UUIDs generated using ossp-uuid on windows not unique |
Previous Message | Hiroshi Saito | 2008-06-17 10:17:46 | Re: UUIDs generated using ossp-uuid on windows not unique |