Re: postgresql unix socket connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx‬‏>:‬
On Wed, Jan 9, 2019 at 10:09 AM Mariel Cherkassky <mariel.cherkassky@xxxxxxxxx> 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

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux