From: Tom Lane <tgl@sss.pgh.pa.us>
To: azopane@gmail.com
Cc: pgsql-docs@postgresql.org
Subject: Re: start-up script for OpenBSD
Date: Thu, 29 Dec 2016 18:28:07 -0500
Message-ID: <29556.1483054087@sss.pgh.pa.us> (raw)
In-Reply-To: <20161229143354.10141.10104@wrigleys.postgresql.org>
References: <20161229143354.10141.10104@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>
azopane@gmail.com writes:
> I have just installed OpenBSD 6.0 with the postgresql package (pg 9.5.3)
> Section 17.3 of the postgresql documentation gives a recommended startup
> script for OpenBSD to be put into /etc/rc.local
> The path is incorrect for pg_ctl and postgres. These are located in
> /usr/local/bin and not /usr/local/pgsql/bin as given. Naturally this does
> not allow postgresql to start at boot.
Well, /usr/local/pgsql/bin *is* where they're installed if you build PG
from source without modifications. The OpenBSD packager evidently changed
that to conform with local custom, which is entirely reasonable --- many
other platforms change the install location too. But we can't document
what other people do. It's the responsibility of the platform packager
to provide documentation saying what they changed. Most packagers also
provide suitably customized startup scripts ... did you check?
regards, tom lane
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
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-docs@postgresql.org
Cc: tgl@sss.pgh.pa.us, azopane@gmail.com
Subject: Re: start-up script for OpenBSD
In-Reply-To: <29556.1483054087@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