Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 9922B632A89 for ; Sun, 14 Feb 2010 10:45:06 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 36151-08 for ; Sun, 14 Feb 2010 14:44:29 +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 EA91A6327DB for ; Sun, 14 Feb 2010 10:44:55 -0400 (AST) Received: by leary.csoft.net (Postfix, from userid 1112) id 74CC3A39F; Sun, 14 Feb 2010 09:44:54 -0500 (EST) Date: Sun, 14 Feb 2010 09:44:54 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: pgsql-jdbc@postgresql.org Subject: Re: [BUGS] Possible bug with BYTEA and JDBC In-Reply-To: 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=-1.809 tagged_above=-10 required=5 tests=AWL=-0.699, BAYES_05=-1.11 X-Spam-Level: X-Archive-Number: 201002/23 X-Sequence-Number: 20310 I saw this on the bugs list first and replied there, but I figured I ought to repost it here as well... On Sun, 14 Feb 2010, Kris Jurka wrote: > 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 >