Skip site navigation (1) Skip section navigation (2)

Re: psql 9.1 alpha5: connection pointer is NULL

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>, PostgreSQL Hackers ML <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql 9.1 alpha5: connection pointer is NULL
Date: 2011-04-03 08:34:49
Message-ID: 1301819689.2945.1.camel@lenovo01-laptop03.gunduz.org (view raw or flat)
Thread:
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

In response to

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2011-04-03 09:32:34
Subject: Re: Should psql support URI syntax?
Previous:From: Dave PageDate: 2011-04-03 07:30:18
Subject: FDW state from plan time

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group