Re: Updated macOS start scripts - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Updated macOS start scripts
Date
Msg-id b6a8fcda-fe25-cde8-11ac-1a5fed95fbc0@2ndquadrant.com
Whole thread Raw
In response to Re: Updated macOS start scripts  (Mark Dilger <hornschnorter@gmail.com>)
Responses Re: Updated macOS start scripts  (Mark Dilger <hornschnorter@gmail.com>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] postgres_fdw super user checks
Next
From: Thomas Munro
Date:
Subject: Re: pgindent run?