Re: i could not found exact steps for using pgp_sym_encrypt() and pgp_sym_decrypt() - Mailing list pgsql-general

From Craig Ringer
Subject Re: i could not found exact steps for using pgp_sym_encrypt() and pgp_sym_decrypt()
Date
Msg-id 4E92F3D9.6040007@ringerc.id.au
Whole thread Raw
In response to i could not found exact steps for using pgp_sym_encrypt() and pgp_sym_decrypt()  (tushar nehete <tpnehete@gmail.com>)
List pgsql-general
On 10/10/2011 04:37 PM, tushar nehete wrote:
Hi,
i could not found exact steps for using pgp_sym_encrypt() and pgp_sym_decrypt().

I want to encrypt the data of column and then
in a function  decrypt that column using pgp_sym_encrypt() and pgp_sym_decrypt() functions.
Its working fine with postgres 8.4 eg: select pgp_sym_encrypt('tushar','22');

Version of postgres is 9.0


If it was working for you in 8.4 and isn't working in 9.0, what changed?

Are you using exactly the same arguments to the function in both tests?

What is the error message?

Have you installed the pgcrypto contrib module in your 9.0 database(s)?

--
Craig Ringer

pgsql-general by date:

Previous
From: Filip Rembiałkowski
Date:
Subject: Re: could not create file "base/16384/11500": File exists
Next
From: Adarsh Sharma
Date:
Subject: Re: Select latest Timestamp values with group by