Re: postgresql unix socket connections - Mailing list pgsql-performance

From Tom Lane
Subject Re: postgresql unix socket connections
Date
Msg-id 2002.1547050279@sss.pgh.pa.us
Whole thread Raw
In response to Re: postgresql unix socket connections  (Mariel Cherkassky <mariel.cherkassky@gmail.com>)
Responses Re: postgresql unix socket connections  (Mariel Cherkassky <mariel.cherkassky@gmail.com>)
List 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 by date:

Previous
From: Mariel Cherkassky
Date:
Subject: Re: postgresql unix socket connections
Next
From: David Rowley
Date:
Subject: Re: select query does not pick up the right index