Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 5DB88632A89 for ; Sun, 14 Feb 2010 10:42:44 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 74075-07 for ; Sun, 14 Feb 2010 14:42:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail.postgresql.org (Postfix) with ESMTP id F348B6327DB for ; Sun, 14 Feb 2010 10:42:33 -0400 (AST) Received: by leary.csoft.net (Postfix, from userid 1112) id CDB55A39F; Sun, 14 Feb 2010 09:42:31 -0500 (EST) Date: Sun, 14 Feb 2010 09:42:31 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Gregory Kotsaftis cc: pgsql-bugs@postgresql.org Subject: Re: Possible bug with BYTEA and JDBC In-Reply-To: <245984.68614.qm@web35304.mail.mud.yahoo.com> Message-ID: References: <245984.68614.qm@web35304.mail.mud.yahoo.com> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201002/134 X-Sequence-Number: 25920 On Sat, 13 Feb 2010, Gregory Kotsaftis wrote: > postgresql-8.4-701.jdbc4.jar > postgresql-8.5alpha3 > > I followed the steps in the blob tutorial and tried to test the BYTEA > example: The 8.5/9.0 release has changed the default bytea output format and the 8.4 JDBC driver does not support it. You've got a couple of options: 1) Change the bytea format back to the 8.4 supported format. Set bytea_output = escape in your postgresql.conf. 2) Build the JDBC driver from CVS which does support the new format. 3) Use an 8.4 server. Kris Jurka