Re: [GENERAL] Help: Installing 9.6 breaks local connections to 9.2 on Centos 6.9

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Help: Installing 9.6 breaks local connections to 9.2 on Centos 6.9
Дата
Msg-id 28477.1494880454@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Help: Installing 9.6 breaks local connections to 9.2 onCentos 6.9  (Adrian Klaver <adrian.klaver@aklaver.com>)
Ответы Re: [GENERAL] Help: Installing 9.6 breaks local connections to 9.2on Centos 6.9  (Devrim Gündüz <devrim@gunduz.org>)
Список pgsql-general
Adrian Klaver <adrian.klaver@aklaver.com> writes:
> On 05/15/2017 01:10 PM, Devrim Gündüz wrote:
>> * You can connect to 9.2 using /usr/pgsql-9.2/bin/psql command. It knows the
>> old socket directory.

> That was where I was going until I saw this in the OP:

> bash-4.1$ /usr/pgsql-9.2/bin/psql -p 5432
> psql: could not connect to server: Connection refused
>     Is the server running locally and accepting
>     connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

The default is actually compiled into libpq.so, not psql itself.
So I'm thinking what's happening here is the 9.2 psql is picking
up a libpq.so supplied by 9.6.

            regards, tom lane


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: [GENERAL] Help: Installing 9.6 breaks local connections to 9.2 onCentos 6.9
Следующее
От: Ronny Abraham
Дата:
Сообщение: Re: [GENERAL] Insert performance and disk usage in JSON vs JSONB