From: | Michael Fuhr <mfuhr+pgsql-general(at)fuhr(dot)org> |
---|---|
To: | Richard Huxton <dev(at)archonet(dot)com> |
Cc: | "hlavki(at)medium13" <hlavki(at)medium13(dot)sk>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: md5 function |
Date: | 2003-12-17 09:45:55 |
Message-ID: | 20031217024555.A16186@quality.qadas.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, Dec 17, 2003 at 09:37:07AM +0000, Richard Huxton wrote:
> On Wednesday 17 December 2003 08:47, Miso Hlavac wrote:
> > Hello,
> >
> > Sorry for just stupid question, but I need use md5 function in 7.4
> > When I write:
> > select md5('text');
> > ERROR: Function md5("unknown") does not exist
> > Unable to identify a function that satisfies the given argument
> > types You may need to add explicit typecasts
>
> Have a look in the contrib/crypto add-on, I think md5() is in there.
md5() should be stock in 7.4.
mydb=> \x
Expanded display is on.
mydb=> \df+ md5
List of functions
-[ RECORD 1 ]-------+--------------------
Result data type | text
Schema | pg_catalog
Name | md5
Argument data types | text
Owner | pgsql
Language | internal
Source code | md5_text
Description | calculates md5 hash
The internal function md5_text() is in src/backend/utils/adt/varlena.c.
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
From | Date | Subject | |
---|---|---|---|
Next Message | Paul Thomas | 2003-12-17 09:46:31 | Re: Sequence name with SERIAL type |
Previous Message | Richard Huxton | 2003-12-17 09:37:07 | Re: md5 function |