Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id F04C26B2589 for ; Thu, 29 Dec 2011 09:14:42 -0400 (AST) Received: from 30.55.colo.spiretech.net ([69.168.55.30] helo=lists.commandprompt.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RgFoe-0003LN-6k for pgsql-bugs@postgresql.org; Thu, 29 Dec 2011 13:14:42 +0000 Received: from perhan.alvh.no-ip.org (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id 9C59E307; Thu, 29 Dec 2011 05:14:38 -0800 (PST) Received: from perhan.alvh.no-ip.org ([200.126.85.47] helo=perhan.alvh.no-ip.org) by assp.commandprompt.com with ESMTPS(AES256-SHA) (2.1.1); 29 Dec 2011 05:14:36 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 619CF6E415; Thu, 29 Dec 2011 10:14:22 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Pg Bugs Subject: Re: BUG #6363: pgp_sym_encrypt() broken between 8.4 and 9.1 From: Alvaro Herrera To: dean.w.schulze In-reply-to: References: Date: Thu, 29 Dec 2011 10:14:22 -0300 Message-Id: <1325164357-sup-8785@alvh.no-ip.org> User-Agent: Sup/git X-Assp-Version: 2.1.1(11278) on assp.commandprompt.com X-Assp-Client-TLS: yes X-Assp-ID: assp.commandprompt.com m1-64478-03627 X-Assp-Envelope-From: alvherre@alvh.no-ip.org X-Assp-Intended-For: dean.w.schulze@gmail.com X-Assp-Original-Subject: Re: [BUGS] BUG #6363: pgp_sym_encrypt() broken between 8.4 and 9.1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: 0.3 (/) X-Archive-Number: 201112/241 X-Sequence-Number: 32052 Excerpts from dean.w.schulze's message of mi=C3=A9 dic 28 20:21:08 -0300 = 2011: > The following worked in 8.4, but fails in 9.1. (pgpcrypto is installed= .) >=20 > In 9.1 it looks like it doesn't recognize strings. >=20 > insert into credentials values('demo', pgp_sym_encrypt('password', > 'longpassword')); >=20 >=20 > 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 --=20 =C3=81lvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support