Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 61402632CF2 for ; Mon, 15 Feb 2010 03:48:39 -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 35145-05 for ; Mon, 15 Feb 2010 07:48:28 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from web35308.mail.mud.yahoo.com (web35308.mail.mud.yahoo.com [66.163.179.102]) by mail.postgresql.org (Postfix) with SMTP id BFE10632B84 for ; Mon, 15 Feb 2010 03:48:28 -0400 (AST) Received: (qmail 34765 invoked by uid 60001); 15 Feb 2010 07:48:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1266220107; bh=sv11p2lLOYptN9PWGkbFEsUOA10NvE8qSvWCvn3gQuY=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=oK1mQpkWsWJ2CPHF1e/a2CfjSScv7lhWiLQeQ40FiLV/1f3DEwzC5BolaKURSGAhk5r34Jkb11zOmHuVwW1oCZ4AGAsz8bAT5+csAB+jE+DQJvWCSwbo9khN51VWnA9Q6VlhJs6lGvSwnzQR5goOgXNYWXxe5CLf+1neKVhALiQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=YGgmpxY5Ww22GEPlFJBnA081OScozV5wpNwA+0A7+WCX+0luldF2UgDxqC6357PwwJvjDgTxlYRJFIaFhCBi8Wjvs6geblD20Gb9U05cw9amc1l5O1htnYouWq+Ik8nuNyO+n1uiIk1QWfZe916H9xqERcfNzDVw89GzNBaLMU0=; Message-ID: <103294.33485.qm@web35308.mail.mud.yahoo.com> X-YMail-OSG: Mhl.SOwVM1kPLQIcYmRslx_a5sNnsvYD1oUzwPdOEnI_4aieGuEC.tpRXOTq9tqvUmqZEMIta.3cM0Tla_Y35e2sVYa0SI5OU_tyFPvFxPi2NVxqOF_mUyOZ7rWcCjSW1X_9z.NI15UC3LUfQrH5aDOj4mKywxHNxLsNnNt3kQbItJa23rMxXbEeerNiAFNNdvp0GIC2OXaNIYy1YwGyJeHALsyxhNtYRnhbLoeclIZUWZjgHM_Qub0B1VqK2R1Vddzkem9sMGrxvwOJrXMc5az4SLFBtEvVkIS93XR7QaSe3FIuwQkZGbBqh8Z4eV0ZPaZ6hdxJhYoeCwfFU_FmxWC0d93jECpwv7vIdKLyQJTFpnrxk5GDIg-- Received: from [193.92.116.26] by web35308.mail.mud.yahoo.com via HTTP; Sun, 14 Feb 2010 23:48:27 PST X-Mailer: YahooMailClassic/9.1.10 YahooMailWebService/0.8.100.260964 Date: Sun, 14 Feb 2010 23:48:27 -0800 (PST) From: Gregory Kotsaftis Subject: Re: [BUGS] Possible bug with BYTEA and JDBC To: pgsql-jdbc@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=-10 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 201002/24 X-Sequence-Number: 20311 Kris you are without a doubt a life saver! Being new to blobs altogether, this issue gave me a really hard time for more than a week! Thanks for the possible solutions (I will probably go with 2 or 1). Thank you very much (and I REALLY mean it!) Greg :) --- On Sun, 2/14/10, Kris Jurka wrote: > From: Kris Jurka > Subject: Re: [BUGS] Possible bug with BYTEA and JDBC > To: "Gregory Kotsaftis" > Cc: pgsql-bugs@postgresql.org > Date: Sunday, February 14, 2010, 4:42 PM > > > 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 >