Re: Random Unique Id

Поиск
Список
Период
Сортировка
От Ivan Sergio Borgonovo
Тема Re: Random Unique Id
Дата
Msg-id 20091020223013.45efebef@dawn.webthatworks.it
обсуждение исходный текст
Ответ на Random Unique Id  (Nahuel Alejandro Ramos <nahuelon@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Nahuel Alejandro Ramos
Дата:
Сообщение: Re: Random Unique Id
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Random Unique Id