Re: Random Unique Id

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Random Unique Id
Дата
Msg-id 4ADE4D0B.1020909@postnewspapers.com.au
обсуждение исходный текст
Ответ на Random Unique Id  (Nahuel Alejandro Ramos <nahuelon@gmail.com>)
Список pgsql-sql
Nahuel Alejandro Ramos 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:

Here's what I'm using:

http://wiki.postgresql.org/wiki/Pseudo_encrypt

thanks to the incredibly helpful folks on this list, in this case
particularly Daniel Verite.

--
Craig Ringer


В списке pgsql-sql по дате отправления:

Предыдущее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: Re: Random Unique Id
Следующее
От: sathiya psql
Дата:
Сообщение: report generation from table.