pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dean.w.schulze@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6363: pgp_sym_encrypt() broken between 8.4 and 9.1
Date: Wed, 28 Dec 2011 23:21:08 +0000
Message-ID: <E1Rg2o0-0005Pk-L8@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      6363
Logged by:          Dean Schulze
Email address:      dean.w.schulze@gmail.com
PostgreSQL version: 9.1.1
Operating system:   Windows 7 Pro 64-bit
Description:        

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
LINE 1: insert into credentials values('demo', pgp_sym_encrypt('pass...
                                               ^
HINT:  No function matches the given name and argument types. You might need
to add explicit type casts.

********** Error **********

ERROR: function pgp_sym_encrypt(unknown, unknown) does not exist
SQL state: 42883
Hint: No function matches the given name and argument types. You might need
to add explicit type casts.
Character: 40





view thread (4+ messages)  latest in thread

Message-ID: <E1Rg2o0-0005Pk-L8@wrigleys.postgresql.org>
Permalink:  ../E1Rg2o0-0005Pk-L8@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1Rg2o0-0005Pk-L8@wrigleys.postgresql.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: dean.w.schulze@gmail.com
  Subject: Re: BUG #6363: pgp_sym_encrypt() broken between 8.4 and 9.1
  In-Reply-To: <E1Rg2o0-0005Pk-L8@wrigleys.postgresql.org>
  References: <E1Rg2o0-0005Pk-L8@wrigleys.postgresql.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