Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 49A6637C6E4 for ; Fri, 10 Oct 2008 13:26:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 39810-10 for ; Fri, 10 Oct 2008 13:26:50 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from tomts10-srv.bellnexxia.net (tomts10-srv.bellnexxia.net [209.226.175.54]) by postgresql.org (Postfix) with ESMTP id DB93937C6E0 for ; Fri, 10 Oct 2008 13:26:49 -0300 (ADT) Received: from toip6.srvr.bell.ca ([209.226.175.125]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20081010162648.PKGR1721.tomts10-srv.bellnexxia.net@toip6.srvr.bell.ca> for ; Fri, 10 Oct 2008 12:26:48 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ak8HAFIa70hBX4VJ/2dsb2JhbACBcoxhrweBbA Received: from bas3-london14-1096779081.dsl.bell.ca (HELO t60p.bax.ca) ([65.95.133.73]) by toip6.srvr.bell.ca with ESMTP; 10 Oct 2008 12:21:52 -0400 Message-ID: <48EF8247.8050607@sympatico.ca> Date: Fri, 10 Oct 2008 12:26:47 -0400 From: Frank Bax User-Agent: Thunderbird 2.0.0.16 (X11/20080727) MIME-Version: 1.0 To: pgsql-php@postgresql.org Subject: Re: store data files encryptypted in database. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200810/4 X-Sequence-Number: 3901 elmarkivp wrote: > > i'm trying to store data files encryptypted in postgres 8.1 database > > F.20.3.2. |pgp_sym_decrypt()| > > pgp_sym_decrypt(msg bytea, psw text [, options text ]) returns text > pgp_sym_decrypt_bytea(msg bytea, psw text [, options text ]) returns bytea You quote the 8.3 docs; yet you are running 8.1 These functions are not in 8.1