Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E57861337B3E for ; Sat, 2 Oct 2010 05:58:52 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 89978-06 for ; Sat, 2 Oct 2010 08:58:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mail.postgresql.org (Postfix) with ESMTP id E63C5133729E for ; Sat, 2 Oct 2010 05:58:45 -0300 (ADT) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P1xvY-0008D5-Iu for pgsql-jdbc@postgresql.org; Sat, 02 Oct 2010 10:58:44 +0200 Received: from ppp-188-174-88-169.dynamic.mnet-online.de ([188.174.88.169]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Oct 2010 10:58:44 +0200 Received: from spam_eater by ppp-188-174-88-169.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Oct 2010 10:58:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Re: Upgrade to 9 questions Date: Sat, 02 Oct 2010 10:58:34 +0200 Lines: 12 Message-ID: References: <456BF122-9041-4014-B9A7-245D98CEC62D@coremedia.com> <4CA5E80A020000250003634B@gw.wicourts.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ppp-188-174-88-169.dynamic.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/27 X-Sequence-Number: 20995 Kris Jurka wrote on 01.10.2010 21:46: > Aside from metadata changes, the key change that needs a new JDBC > driver for a 9.0 server is the format of bytea data. You need to use > the new JDBC driver or to adjust your server settings to return bytea > data in the old format or you will silently get corrupt data. > I'm currently sticking to the 8.4 driver, as with the 9.0 driver, DatabaseMetaData.getIndexInfo() throws an exception as it uses a SQL statement that is incompatible with PG 9.0 (I reported that about a week ago here on the list) Regards Thomas