Re: psql 9.1 alpha5: connection pointer is NULL
Devrim Gündüz <devrim@gunduz.org>
From: Devrim GÜNDÜZ <devrim@gunduz.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Joseph Adams <joeyadams3.14159@gmail.com>, PostgreSQL Hackers ML <pgsql-hackers@postgresql.org>
Date: 2011-04-03T08:34:49Z
Lists: pgsql-hackers
On Sat, 2011-04-02 at 18:10 -0400, Tom Lane wrote: > > It could explain Devrim's report if the parameters passed by psql had > some problem that was detectable by conninfo_array_parse(). That > seems a bit unlikely, but I did think of one possibility: if Devrim > was > testing 9.1 psql with a 9.0 libpq (perhaps due to an rpath issue) > then 9.0 libpq would spit up on client_encoding, which wasn't a legal > connection parameter in 9.0. Bingo: LD_LIBRARY_PATH=/usr/pgsql-9.1/lib/ psql -p 5433 worked. Let me fix the rpms. Regards, -- 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