Re: Is it possible to control the location of the lock file when starting postgres?

From: Steve Langlois <steve(dot)langlois(at)tavve(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Is it possible to control the location of the lock file when starting postgres?
Date: 2016-07-19 22:35:47
Message-ID: CY1PR0701MB1932440D2FD34C5EC9F3B4A987370@CY1PR0701MB1932.namprd07.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>Presumably, you are working with a distro-modified version of Postgres,

>because the stock sources don't use /var/run/postgresql as a socket
>directory. You will likely find that your version of libpq.so also
>expects /var/run/postgresql as the socket directory, so you won't be
>able to make non-TCP connections without explicitly specifying /tmp
>(or wherever you choose to put the socket) as the host location.

Using the following fromsudo yum install postgresql-server postgresql-contrib

postgresql-server-9.2.15-1.el7_2.x86_64
postgresql-contrib-9.2.15-1.el7_2.x86_64
postgresql-9.2.15-1.el7_2.x86_64
postgresql-libs-9.2.15-1.el7_2.x86_64

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2016-07-20 01:28:14 Re: Is it possible to control the location of the lock file when starting postgres?
Previous Message Tom Lane 2016-07-19 22:01:09 Re: Is it possible to control the location of the lock file when starting postgres?