From: Reece Hart <reece@in-machina.com>
To: pgsql-admin@postgresql.org, Murthy Kambhampaty <murthy.kambhampaty@goeci.com>
Subject: Re: 7.4RC2: pg_crypto not working?
Date: Wed, 12 Nov 2003 18:14:43 -0800
Message-ID: <1068689683.5532.36.camel@whoville> (raw)
In-Reply-To: <2D92FEBFD3BE1346A6C397223A8DD3FC09248D@THOR.goeci.com>
References: <2D92FEBFD3BE1346A6C397223A8DD3FC09248D@THOR.goeci.com>
On Wed, 2003-11-12 at 14:14, Murthy Kambhampaty wrote:
> Is this from user error or is pgcrypto not working yet in RC2?
It works for me (x86, redhat 7.3, linux 2.4.18). I did make install in
pgcrypto/, then:
CREATE FUNCTION digest (text, text) RETURNS bytea
AS 'pgcrypto', 'pg_digest'
LANGUAGE c STRICT;
Note that I don't have '$libdir/' in this function definition. I can't
remember why.
compbio@csb-dev=# select encode( digest('AAA','md5'), 'hex' );
encode
----------------------------------
e1faffb3e614e6c2fba74296962386b7
(1 row)
compbio@csb-dev=# select version();
version
--------------------------------------------------------------
PostgreSQL 7.4RC2 on i686-pc-linux-gnu, compiled by GCC 2.96
I just discovered that md5 is now built in to the 7.4 backend, so I
don't need pgcrypto anymore.
-Reece
--
Reece Hart, http://www.in-machina.com/~reece/, GPG:0x25EC91A0 0xD178AAF9
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: reece@in-machina.com, murthy.kambhampaty@goeci.com
Subject: Re: 7.4RC2: pg_crypto not working?
In-Reply-To: <1068689683.5532.36.camel@whoville>
References: <2D92FEBFD3BE1346A6C397223A8DD3FC09248D@THOR.goeci.com> <1068689683.5532.36.camel@whoville>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox