Re: psql 9.1 alpha5: connection pointer is NULL

Поиск
Список
Период
Сортировка
От Devrim GÜNDÜZ
Тема Re: psql 9.1 alpha5: connection pointer is NULL
Дата
Msg-id 1301819689.2945.1.camel@lenovo01-laptop03.gunduz.org
обсуждение исходный текст
Ответ на Re: psql 9.1 alpha5: connection pointer is NULL  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Should psql support URI syntax?
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Windows build issues