pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: dean.w.schulze <dean.w.schulze@gmail.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #6363: pgp_sym_encrypt() broken between 8.4 and 9.1
Date: Thu, 29 Dec 2011 10:14:22 -0300
Message-ID: <1325164357-sup-8785@alvh.no-ip.org> (raw)
In-Reply-To: <E1Rg2o0-0005Pk-L8@wrigleys.postgresql.org>
References: <E1Rg2o0-0005Pk-L8@wrigleys.postgresql.org>


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@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (4+ messages)  latest in thread

Message-ID: <1325164357-sup-8785@alvh.no-ip.org>
Permalink:  ../1325164357-sup-8785@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1325164357-sup-8785@alvh.no-ip.org

 · 

reply

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-bugs@postgresql.org
  Cc: alvherre@commandprompt.com, dean.w.schulze@gmail.com
  Subject: Re: BUG #6363: pgp_sym_encrypt() broken between 8.4 and 9.1
  In-Reply-To: <1325164357-sup-8785@alvh.no-ip.org>
  References: <E1Rg2o0-0005Pk-L8@wrigleys.postgresql.org> <1325164357-sup-8785@alvh.no-ip.org>

* 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