]> granicus.if.org Git - postgresql/commit
Provide modern examples of how to auto-start Postgres on macOS.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 17 Nov 2017 17:46:52 +0000 (12:46 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 17 Nov 2017 17:47:29 +0000 (12:47 -0500)
commit9508d422b4d64d5b7671fcb24ed3e20d22af6e9b
treefbef1f480eb42d63d3fbcbf5746c4813aea40cc9
parentd4e38489f98a186e1c783efd4844b956cf8d2d4d
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
contrib/start-scripts/macos/README [new file with mode: 0644]
contrib/start-scripts/macos/org.postgresql.postgres.plist [new file with mode: 0644]
contrib/start-scripts/macos/postgres-wrapper.sh [new file with mode: 0644]
contrib/start-scripts/osx/README