Re: Random Unique Id - Mailing list pgsql-sql

From Ivan Sergio Borgonovo
Subject Re: Random Unique Id
Date
Msg-id 20091020223013.45efebef@dawn.webthatworks.it
Whole thread Raw
In response to Random Unique Id  (Nahuel Alejandro Ramos <nahuelon@gmail.com>)
List pgsql-sql
On Tue, 20 Oct 2009 16:49:17 -0300
Nahuel Alejandro Ramos <nahuelon@gmail.com> wrote:

> Hi all,
>   I was searching for a sequence (for serials) that let me use a
> random unique number ID on a Primary Key or a simple index.
>   I have not found a solution so I have done it by myself. I would
> like to share it so here it is:


http://www.webthatworks.it/d1/node/page/pseudo_random_sequences_postgresql

Adapted from Daniel Verite suggestion.


-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it



pgsql-sql by date:

Previous
From: Nahuel Alejandro Ramos
Date:
Subject: Re: Random Unique Id
Next
From: Craig Ringer
Date:
Subject: Re: Random Unique Id