Re: JDBC connections to 9.1

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: Bernd Helmle <mailings(at)oopsware(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Steve Singer <ssinger(at)ca(dot)afilias(dot)info>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: JDBC connections to 9.1
Date: 2011-04-18 14:29:33
Message-ID: 1303136973.2846.16.camel@lenovo01-laptop03.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

On Mon, 2011-04-18 at 16:17 +0200, Bernd Helmle wrote:
> Hmm, seems it stumbles while reading client_encoding....

This is probably similar to what I had a couple weeks ago. With today's
new minor releases, I get:

$ psql
psql: invalid connection option "client_encoding"

(I was getting another message before)

This is 9.1's psql connecting to 9.1's server. For some reason, psql
uses 9.0 client libs, so if I export LD_LIBRARY_PATH, everything works:

$ LD_LIBRARY_PATH=/usr/pgsql-9.1/lib psql
...

Could it be the same thing?
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bernd Helmle 2011-04-18 14:34:04 Re: JDBC connections to 9.1
Previous Message Steve Singer 2011-04-18 14:26:59 Re: JDBC connections to 9.1

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bernd Helmle 2011-04-18 14:34:04 Re: JDBC connections to 9.1
Previous Message Steve Singer 2011-04-18 14:26:59 Re: JDBC connections to 9.1