Re: postgresql unix socket connections

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgresql unix socket connections
Дата
Msg-id 2002.1547050279@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: postgresql unix socket connections  (Mariel Cherkassky <mariel.cherkassky@gmail.com>)
Ответы Re: postgresql unix socket connections  (Mariel Cherkassky <mariel.cherkassky@gmail.com>)
Список pgsql-performance
Mariel Cherkassky <mariel.cherkassky@gmail.com> writes:
> But in both of the machines I have the same os and I used the same
> repository - postgresql rpm repository. The only difference is that in
> machine 2 I also installed all pg 9.6 packages. Even When I try to use
> /usr/pgsql-9.2/bin/psql the psql still tries to access the
> /var/run/run/postgresql dir as the socket dir. Does those packages include
> a different libpq ?  What postgres package change the libpq ?

"rpm -ql" would tell you about which packages supply what.

Assuming there's more than one libpq.so on your machine, which it sounds
like there is, which one gets used depends on the dynamic linker's
configuration -- see /etc/ld.so.conf and "man ldconfig".

            regards, tom lane


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

Предыдущее
От: Mariel Cherkassky
Дата:
Сообщение: Re: postgresql unix socket connections
Следующее
От: David Rowley
Дата:
Сообщение: Re: select query does not pick up the right index