From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Provide modern examples of how to auto-start Postgres on macOS.
Date: Fri, 17 Nov 2017 17:48:02 +0000
Message-ID: <E1eFkkE-0001F7-FK@gemulon.postgresql.org> (raw)
Provide modern examples of how to auto-start Postgres on macOS.
The scripts in contrib/start-scripts/osx don't work at all on macOS
10.10 (Yosemite) or later, because they depend on SystemStarter which
Apple deprecated long ago and removed in 10.10. Add a new subdirectory
contrib/start-scripts/macos with scripts that use the newer launchd
infrastructure.
Since this problem is independent of which Postgres version you're using,
back-patch to all supported branches.
Discussion: https://postgr.es/m/31338.1510763554@sss.pgh.pa.us
Branch
------
REL9_6_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/0d9243903edc6940e44995c0d8d0956ad605d265
Modified Files
--------------
contrib/start-scripts/macos/README | 24 +++++++++++++++++++++
.../macos/org.postgresql.postgres.plist | 17 +++++++++++++++
contrib/start-scripts/macos/postgres-wrapper.sh | 25 ++++++++++++++++++++++
contrib/start-scripts/osx/README | 5 +++++
4 files changed, 71 insertions(+)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Provide modern examples of how to auto-start Postgres on macOS.
In-Reply-To: <E1eFkkE-0001F7-FK@gemulon.postgresql.org>
References: <E1eFkkE-0001F7-FK@gemulon.postgresql.org>
* 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