Skip site navigation (1) Skip section navigation (2)

Re: BUG #4274: uuid returns duplicate values

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: eric(dot)melbardis(at)netkitsolutions(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4274: uuid returns duplicate values
Date: 2008-06-29 22:21:54
Message-ID: 20080630072154.z0000.z-saito@guitar.ocn.ne.jp (view raw or flat)
Thread:
Lists: pgsql-bugs
Hi.

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

Regards,
Hiroshi Saito

>
>The following bug has been logged online:
>
>Bug reference:      4274
>Logged by:          eric melbardis
>Email address:      eric(dot)melbardis(at)netkitsolutions(dot)com
>PostgreSQL version: 8.3.3
>Operating system:   windows xp sp3
>Description:        uuid returns duplicate values
>Details: 
>
>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 
>$body$
>begin
>    raise notice 'uuid = %', uuid_generate_v4();
>    raise notice 'uuid = %', uuid_generate_v4();
>    raise notice 'uuid = %', uuid_generate_v4();
>    raise notice 'uuid = %', uuid_generate_v4();
>end;
>$body$
>language 'plpgsql' ;
>
>-- 
>Sent via pgsql-bugs mailing list (pgsql-bugs(at)postgresql(dot)org)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-bugs

Responses

pgsql-bugs by date

Next:From: Valentin BogdanovDate: 2008-06-30 12:11:13
Subject: psql: FATAL: the database system is starting up
Previous:From: Tom LaneDate: 2008-06-29 16:38:33
Subject: Re: BUG #4271: dropped columns conflict with returning rules

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group