pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dean Schulze <dean.w.schulze@gmail.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #6363: pgp_sym_encrypt() broken between 8.4 and 9.1
Date: Fri, 30 Dec 2011 17:56:49 -0700
Message-ID: <4EFE5DD1.2020600@gmail.com> (raw)
In-Reply-To: <CABUevExGq+s=tf+3Ro+GveSkE7bo7AxZVKzSwirR1PHN+M8K3g@mail.gmail.com>
References: <E1Rg2o0-0005Pk-L8@wrigleys.postgresql.org>
	<1325164357-sup-8785@alvh.no-ip.org>
	<CABUevExGq+s=tf+3Ro+GveSkE7bo7AxZVKzSwirR1PHN+M8K3g@mail.gmail.com>


I've requested that this bug be closed.  What was happening was that I 
was adding pgcrypto to my database, but then deleting and adding the 
database.  Duh.  My bad.

On 12/29/2011 7:00 AM, Magnus Hagander wrote:
> On Thu, Dec 29, 2011 at 14:14, Alvaro Herrera
> <alvherre@commandprompt.com>  wrote:
>> 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
> My guess is that the OP has installed the extension in one database
> (maybe "postgres") and tries to use it in another. That's a really
> easy mistake to make...
>


-- 
Dean
303.909.3245 cell




view thread (4+ messages)

Message-ID: <4EFE5DD1.2020600@gmail.com>
Permalink:  ../4EFE5DD1.2020600@gmail.com/
Also on:    postgresql.org/message-id/4EFE5DD1.2020600@gmail.com

 · 

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: dean.w.schulze@gmail.com, magnus@hagander.net, alvherre@commandprompt.com
  Subject: Re: BUG #6363: pgp_sym_encrypt() broken between 8.4 and 9.1
  In-Reply-To: <4EFE5DD1.2020600@gmail.com>
  References: <E1Rg2o0-0005Pk-L8@wrigleys.postgresql.org> <1325164357-sup-8785@alvh.no-ip.org> <CABUevExGq+s=tf+3Ro+GveSkE7bo7AxZVKzSwirR1PHN+M8K3g@mail.gmail.com> <4EFE5DD1.2020600@gmail.com>

* 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