Re: md5 function

From: Marek Lewczuk <newsy(at)lewczuk(dot)com>
To: "hlavki(at)medium13" <hlavki(at)medium13(dot)sk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: md5 function
Date: 2003-12-17 09:58:06
Message-ID: 3FE028AE.40909@lewczuk.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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
>
> where is problem???

I'm using 7.4 and it's working.
$ psql
Welcome to psql 7.4, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit

db=# select md5('test');
md5
----------------------------------
098f6bcd4621d373cade4e832627b4f6
(1 row)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marek Lewczuk 2003-12-17 10:15:52 Re: Sequence name with SERIAL type
Previous Message Paul Thomas 2003-12-17 09:46:31 Re: Sequence name with SERIAL type