Re: BUG #6363: pgp_sym_encrypt() broken between 8.4 and 9.1

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: dean(dot)w(dot)schulze <dean(dot)w(dot)schulze(at)gmail(dot)com>
Cc: Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #6363: pgp_sym_encrypt() broken between 8.4 and 9.1
Date: 2011-12-29 13:14:22
Message-ID: 1325164357-sup-8785@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


Excerpts from dean.w.schulze's message of mié dic 28 20:21:08 -0300 2011:

> The following worked in 8.4, but fails in 9.1. (pgpcrypto is installed.)
>
> In 9.1 it looks like it doesn't recognize strings.
>
> insert into credentials values('demo', pgp_sym_encrypt('password',
> 'longpassword'));
>
>
> ERROR: function pgp_sym_encrypt(unknown, unknown) does not exist

It works fine for me here. Is pgp_sym_encrypt listed in this output?

\dx+ pgcrypto

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Magnus Hagander 2011-12-29 14:00:27 Re: BUG #6363: pgp_sym_encrypt() broken between 8.4 and 9.1
Previous Message basilbourque 2011-12-28 23:58:53 BUG #6364: The URL for the page listing user groups is unresponsive.