On 1/21/2016 12:00 PM, John R Pierce wrote:
> On 1/21/2016 11:46 AM, Devrim GÜNDÜZ wrote:
>> Hi,
>>
>> On Thu, 2016-01-21 at 10:09 -0800, John R Pierce wrote:
>>> >the yum packages for 9.5 apparently changed the path of the socket
>>> >from /tmp to /var/run/postgresql
>> I think we use both now. If not, that must be a packaging bug. On my
>> boxes, I can see that the unix_socket_directory points to both.
>>
>
>
> indeed, 9.5 is putting it in both places, but 9.5's libpq is looking
> for it in /var/run/pgsql ... the problem is the older versions are
> only putting it in /tmp, so the newer libpq doesn't work.
>
> does unix_socket_directory allow dual locations in 9.1+ ? I guess I
> should just try that...
ugh, its unix_socket_directories in 9.3-9.5, and _directory in 9.2,
which presumably doesn't allow multiple choices?
--
john r pierce, recycling bits in santa cruz