Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 50E3C6E7E0C for ; Thu, 16 Feb 2012 17:06:46 -0400 (AST) Received: from mail63.csoft.net ([205.205.214.4]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ry8XE-0007Zm-0W for pgsql-jdbc@postgresql.org; Thu, 16 Feb 2012 21:06:40 +0000 Received: from mail63.csoft.net (localhost [127.0.0.1]) by mail63.csoft.net (Postfix) with ESMTP id 5B61628427; Thu, 16 Feb 2012 16:06:22 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=csoft.net; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sel1; bh=wf1t/KLTJ79h5WE2jRNzDRXMdbw=; b=c+CmS+ gZFqDrrM1NHJtMtQ6/Jy3GoOhWU2qB6gx/YXIkWTeEt+Zka0OlhMjw3qPQzt8MII bRFhH/aKOUyIA6G8SnrQfGKDzyCwdD01eQFj1T7GXSSuaHnmNkjn9wdYLueKktZt 8V3JlEclQ4RKH8ot6MBiZTYYsgHnPw8ZBmTuM= Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail63.csoft.net (Postfix) with ESMTP id 35CC828426; Thu, 16 Feb 2012 16:06:22 -0500 (EST) Received: by leary.csoft.net (Postfix, from userid 1112) id EFB28A2B7; Thu, 16 Feb 2012 16:06:21 -0500 (EST) Date: Thu, 16 Feb 2012 16:06:21 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Ned Wolpert cc: Dave Cramer , =?KOI8-U?B?96bUwcymyiD0yc3eydvJzg==?= , pgsql-jdbc@postgresql.org Subject: Re: Upgrade question, going from 8.3 to 9.1... In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201202/80 X-Sequence-Number: 22733 On Thu, 16 Feb 2012, Ned Wolpert wrote: > So, the driver issue was only in dealing with UNICODE issues? Is it true > that if we are always set with UNICODE client_encoding we should be fine? > (Or, another way to put it, we have already tested connection from the > existing java apps using the 8.3 driver to the new 9.1 database test > instance, and they worked 'just fine' for initial queries... is that where > this problem would manifest itself? Only in connecting?) Or was there > something else I missed in that thread? The end result of that thread was that the server folks ended up fixing the server to allow older JDBC clients to connect, so that was only an issue in the development version of the server for a short period of time, never in a released version. The big backwards compatibility change that occurred between 8.3 and 9.1 servers was the bytea escaping option. If you want to use an older driver you must set the bytea_output config option to escape on the server. http://www.postgresql.org/docs/9.1/static/runtime-config-client.html#GUC-BYTEA-OUTPUT Kris Jurka