From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mariel Cherkassky <mariel.cherkassky@gmail.com>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-performance@lists.postgresql.org
Subject: Re: postgresql unix socket connections
Date: Wed, 09 Jan 2019 11:11:19 -0500
Message-ID: <2002.1547050279@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+t6e1mqWj9JUH4Mi6mYScZ9X4d=YrdzpXMi1Ptq4=uCoT3+bw@mail.gmail.com>
References: <CA+t6e1kUQj+ZGPZZPjW7Fbg=69UaLj-cRgSGZiWFk+bR=-H5+w@mail.gmail.com>
<19153.1547045702@sss.pgh.pa.us>
<CA+t6e1k6SQm3RYAYQZGcmXjAUnOV8MNoVvt-xmkhHUk_vUm6Gg@mail.gmail.com>
<CAMkU=1ypBKBVHbhquqHSGSKgoAnQ+1XirHh2MOz-cvmhCSwiuQ@mail.gmail.com>
<CA+t6e1mqWj9JUH4Mi6mYScZ9X4d=YrdzpXMi1Ptq4=uCoT3+bw@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, mariel.cherkassky@gmail.com, jeff.janes@gmail.com, pgsql-performance@lists.postgresql.org
Subject: Re: postgresql unix socket connections
In-Reply-To: <2002.1547050279@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox