Re: function for creating random id

From: Moritz Sinn <moritz(at)freesources(dot)org>
To: Michael Loftis <mloftis(at)wgops(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: function for creating random id
Date: 2002-04-16 13:14:09
Message-ID: m3k7r7pyzi.fsf@freesources.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Loftis <mloftis(at)wgops(dot)com> writes:

> I've gotten intot he habit of using a sequence identifier, and couple
> that with the current time then md5 sum that to create unique
> uids. Works our fairly well, and is atleast marginally difficult to
> guess.

that sounds good. could you send me your function definition? because i
don't now how to md5 sum in postgresql.

thanks,
moritz

--
Go not unto the Usenet for advice, for you will be told both yea and nay (and
quite a few things that just have nothing at all to do with the question).
-- seen in a .sig somewhere

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gavin Sherry 2002-04-16 13:26:35 Re: Testers needed ...
Previous Message Miia Leino 2002-04-16 13:08:35 ON DELETE CASCADE doesn't work