Re: md5 function - Mailing list pgsql-general

From Jon Earle
Subject Re: md5 function
Date
Msg-id Pine.LNX.4.58.0312170927540.7506@kronos.honk.org
Whole thread Raw
In response to Re: md5 function  (Michael Fuhr <mfuhr+pgsql-general@fuhr.org>)
Responses Re: md5 function
Re: md5 function
List pgsql-general
On Wed, 17 Dec 2003, Michael Fuhr wrote:

> md5() should be stock in 7.4.

Is there a way to, when I add a record to a table, have the md5 hash
computed and stored in the same table and then returned to the calling
program?  Currently, I'm using the perl md5 function to compute the hash
and store it in the DB but I'm thinking that offloading this to the DB
itself might be faster (of course, if that's not true and the way I'm
doing things now is fine, then I'll leave it as it is).

--
Jon Earle

SAVE FARSCAPE http://www.savefarscape.com/

Vegetarian - an old Indian word meaning 'lousy hunter'.

pgsql-general by date:

Previous
From: Andrew Rawnsley
Date:
Subject: Re: Replication
Next
From: Tom Lane
Date:
Subject: Re: functions returning sets