Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Bugs > Re: BUG #4274: ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 3886 of 4031
Post > Topic >>

Re: BUG #4274: uuid returns duplicate values

by eric.melbardis@[EMAIL PROTECTED] ("Eric P. Melbardis") Jul 1, 2008 at 10:35 AM

Hi

I just tried it, slightly better but not a runner....

Here is a sample of the results I get when running my test script, note
result vary but lack of duplicates does not.

Why do you not use the CreateUUID function in windows??

Regards

Eric

------------------------ result ------------------------------------

psql:q.sql:152: NOTICE:  uuid =3D dfde33d4-188a-4124-847d-0871a90be1fa
psql:q.sql:152: NOTICE:  uuid =3D dfde33d4-188a-4124-847d-0871a90be1fa
psql:q.sql:152: NOTICE:  uuid =3D e6e5dd64-5a1b-4f2e-8443-829d3b325247
psql:q.sql:152: NOTICE:  uuid =3D 2bb08ab3-eb57-42a3-a9ac-63e466384d71


-----Original Message-----
From: Hiro**** Saito [mailto:z-saito@[EMAIL PROTECTED]
 Sunday, June 29, 2008 3:22 PM
To: Eric P. Melbardis
Cc: pgsql-bugs@[EMAIL PROTECTED]
 Re: [BUGS] BUG #4274: uuid returns duplicate values

Hi.

I'm sorry delaying release bugfix was not included in pg8.3.3.=20
Please try this.=20
http://winpg.jp/~saito/pg_work/OSSP_win32/

Regards,
Hiro**** Saito

>
>The following bug has been logged online:
>
>Bug reference:      4274
>Logged by:          eric melbardis
>Email address:      eric.melbardis@[EMAIL PROTECTED]
>PostgreSQL version: 8.3.3
>Operating system:   windows xp sp3
>Description:        uuid returns duplicate values
>Details:=20
>
>the uuid functions do not return unique values if used sequntially, or
i
>believe without too much tme in between invocations.
>
>the following test functions returns the same value!
>
>------------ test function ---------------
>create or replace function test_uuid()
>returns varchar as=20
>$body$
>begin
>    raise notice 'uuid =3D %', uuid_generate_v4();
>    raise notice 'uuid =3D %', uuid_generate_v4();
>    raise notice 'uuid =3D %', uuid_generate_v4();
>    raise notice 'uuid =3D %', uuid_generate_v4();
>end;
>$body$
>language 'plpgsql' ;
>
>--=20
>Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-bugs

--=20
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
 




 4 Posts in Topic:
Re: BUG #4274: uuid returns duplicate values
z-saito@[EMAIL PROTECTED]  2008-06-30 07:21:54 
Re: BUG #4274: uuid returns duplicate values
eric.melbardis@[EMAIL PRO  2008-07-01 10:35:31 
Re: BUG #4274: uuid returns duplicate values
z-saito@[EMAIL PROTECTED]  2008-07-02 08:55:43 
Re: BUG #4274: uuid returns duplicate values
z-saito@[EMAIL PROTECTED]  2008-07-03 01:06:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Sep 6 15:35:03 CDT 2008.