Re: Random Unique Id

From: Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Random Unique Id
Date: 2009-10-20 20:30:13
Message-ID: 20091020223013.45efebef@dawn.webthatworks.it
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Tue, 20 Oct 2009 16:49:17 -0300
Nahuel Alejandro Ramos <nahuelon(at)gmail(dot)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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Craig Ringer 2009-10-20 23:51:39 Re: Random Unique Id
Previous Message Nahuel Alejandro Ramos 2009-10-20 20:14:25 Re: Random Unique Id