| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Provide modern examples of how to auto-start Postgres on macOS. |
| Date: | 2017-11-17 17:48:02 |
| Message-ID: | E1eFkkE-0001F9-Fo@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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_5_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/9508d422b4d64d5b7671fcb24ed3e20d22af6e9b
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(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Geoghegan | 2017-11-17 17:51:05 | Re: pgsql: Remove BufFile's isTemp flag. |
| Previous Message | Tom Lane | 2017-11-17 17:04:26 | pgsql: Prevent to_number() from losing data when template doesn't match |