| From: | John R Pierce <pierce(at)hogranch(dot)com> |
|---|---|
| To: | 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-20 01:28:14 |
| Message-ID: | 7bd0a47a-28f4-5e1c-f6bd-094c2a112966@hogranch.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 7/19/2016 3:35 PM, Steve Langlois wrote:
>
> >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
then why not start it with systemctl ? its already setup as a system
service.
--
john r pierce, recycling bits in santa cruz
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jonathan Eastgate | 2016-07-20 05:22:47 | BDR Cluster vs DB Config |
| Previous Message | Steve Langlois | 2016-07-19 22:35:47 | Re: Is it possible to control the location of the lock file when starting postgres? |