On 11/28/17 14:07, Mark Dilger wrote: > Upon further review, I have noticed that `pg_ctl stop` does not work once > the org.postgresql.postgres service has been started. I was trying to stop, > reinstall and re-initdb and restart postgres and this service was a pita. I > had > to go back to your osx.patch to remind myself what I had done and only then > could I stop the service and continue my work.
But isn't that the point? If you use this setup, you are supposed to use launchctl to control the service, not pg_ctl. The same applies to, say, a systemd setup. If you are using a process manager, then trying to control the process outside of that process manager isn't going to work well. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services