Re: Pgcrypto install (I've tried multiple ways)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David Patricola" <david(dot)patricola(at)jefferson(dot)edu>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Pgcrypto install (I've tried multiple ways)
Date: 2011-01-27 23:15:02
Message-ID: 8753.1296170102@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"David Patricola" <david(dot)patricola(at)jefferson(dot)edu> writes:
> I ran the script under database 'testdb', and that's the database I'm
> viewing when in pgAdmin. Here's what \df decript gave me:

> Schema | Name | Result data type | Argument data types | Type
> -------+---------+------------------+---------------------+--------
> public | decrypt | bytea | bytea, bytea, text | normal

> (it finds all of the functions, in fact)

> However, when I run this query it says it can't find the function with the
> given name and datatypes.

> select decrypt(thenotes, 'thekey', 'aes') AS theoutput
> from footable

So is "thenotes" of type bytea?

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message David Patricola 2011-01-27 23:22:49 Re: Pgcrypto install (I've tried multiple ways)
Previous Message David Patricola 2011-01-27 22:57:16 Re: Pgcrypto install (I've tried multiple ways)