Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 4305B1337BDF for ; Thu, 10 Feb 2011 17:12:40 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 53715-02-2 for ; Thu, 10 Feb 2011 21:12:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id 229931337BE9 for ; Thu, 10 Feb 2011 17:12:26 -0400 (AST) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PndoP-0007bk-9J for pgsql-jdbc@postgresql.org; Thu, 10 Feb 2011 13:12:25 -0800 Date: Thu, 10 Feb 2011 13:12:25 -0800 (PST) From: mmg To: pgsql-jdbc@postgresql.org Message-ID: <1297372345280-3380114.post@n5.nabble.com> In-Reply-To: <201102101859.50021.rsmogura@softperience.eu> References: <1297353712985-3379578.post@n5.nabble.com> <201102101859.50021.rsmogura@softperience.eu> Subject: Re: Store a file in a bytea MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.767 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201102/72 X-Sequence-Number: 21470 Thank you for your reply. You were right: I was using the 8.x JDBC driver on a 9.x database. I downloaded the latest JDBC drivers and now the problem is gone. Thanks again! -- View this message in context: http://postgresql.1045698.n5.nabble.com/Store-a-file-in-a-bytea-tp3379578p3380114.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.