Re: postgresql unix socket connections

Поиск
Список
Период
Сортировка
От Mariel Cherkassky
Тема Re: postgresql unix socket connections
Дата
Msg-id CA+t6e1mqWj9JUH4Mi6mYScZ9X4d=YrdzpXMi1Ptq4=uCoT3+bw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: postgresql unix socket connections  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: postgresql unix socket connections  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
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 ?

‫בתאריך יום ד׳, 9 בינו׳ 2019 ב-17:13 מאת ‪Jeff Janes‬‏ <‪jeff.janes@gmail.com‬‏>:‬
On Wed, Jan 9, 2019 at 10:09 AM Mariel Cherkassky <mariel.cherkassky@gmail.com> wrote:
Hey Tom,
I'm aware of how I can solve it. I wanted to understand why after installing the pg 9.6 packages suddenly psql tries to access the socket on /var/run/postgresql. Does the libpq default unix socket is changed between those two versions ? (9.6,9.2)

It is not a version issue, but a packaging issue.  Different systems have different conventions on where sockets should go, and the packager imposes their opinion on the things they package.

Cheers,

Jeff

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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: postgresql unix socket connections
Следующее
От: Tom Lane
Дата:
Сообщение: Re: postgresql unix socket connections