Re: postgresql unix socket connections

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mariel Cherkassky <mariel(dot)cherkassky(at)gmail(dot)com>
Cc: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: postgresql unix socket connections
Date: 2019-01-09 16:11:19
Message-ID: 2002.1547050279@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Mariel Cherkassky <mariel(dot)cherkassky(at)gmail(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message David Rowley 2019-01-09 16:41:24 Re: select query does not pick up the right index
Previous Message Mariel Cherkassky 2019-01-09 15:17:03 Re: postgresql unix socket connections