Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 5C1491F34A2A for ; Wed, 28 Dec 2011 19:21:21 -0400 (AST) Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Rg2oD-000765-KF for pgsql-bugs@postgresql.org; Wed, 28 Dec 2011 23:21:22 +0000 Received: from [204.145.120.229] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Rg2o1-00042T-4s for pgsql-bugs@postgresql.org; Wed, 28 Dec 2011 23:21:09 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1Rg2o0-0005Pk-L8 for pgsql-bugs@postgresql.org; Wed, 28 Dec 2011 23:21:08 +0000 Date: Wed, 28 Dec 2011 23:21:08 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6363: pgp_sym_encrypt() broken between 8.4 and 9.1 To: pgsql-bugs@postgresql.org From: dean.w.schulze@gmail.com X-Pg-Spam-Score: -3.2 (---) X-Archive-Number: 201112/239 X-Sequence-Number: 32050 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