Re: function for creating random id - Mailing list pgsql-general

From Moritz Sinn
Subject Re: function for creating random id
Date
Msg-id m3k7r7pyzi.fsf@freesources.org
Whole thread Raw
In response to Re: function for creating random id  (Michael Loftis <mloftis@wgops.com>)
Responses Re: function for creating random id
List pgsql-general
Michael Loftis <mloftis@wgops.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: R: I: Migrating a very large db
Next
From: Tino Wildenhain
Date:
Subject: Re: Insert Unicode