Re: Updated macOS start scripts

2017-11-28 Thread Mark Dilger
> On Nov 28, 2017, at 1:22 PM, Peter Eisentraut > wrote: > > 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

Re: Updated macOS start scripts

2017-11-28 Thread Peter Eisentraut
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

Re: Updated macOS start scripts

2017-11-28 Thread Tom Lane
Mark Dilger writes: >> On Nov 28, 2017, at 11:17 AM, Tom Lane wrote: >> Hmm. Maybe we should have the plist file set KeepAlive to false not true? >> This would mean you'd need manual action to restart a failed postmaster, >> but that probably comes with the territory --- I do not see how we'd >>

Re: Updated macOS start scripts

2017-11-28 Thread Mark Dilger
> On Nov 28, 2017, at 11:17 AM, Tom Lane wrote: > > Mark Dilger writes: >> 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 w

Re: Updated macOS start scripts

2017-11-28 Thread Tom Lane
Mark Dilger writes: > 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 rem

Re: Updated macOS start scripts

2017-11-28 Thread Mark Dilger
> On Nov 15, 2017, at 12:02 PM, Mark Dilger wrote: > > >> On Nov 15, 2017, at 11:00 AM, Tom Lane wrote: >> >> Mark Dilger writes: On Nov 15, 2017, at 8:32 AM, Tom Lane wrote: The stuff in contrib/start-scripts/osx/ does not, as far as I know, work at all on any recent release

Re: Updated macOS start scripts

2017-11-15 Thread Tom Lane
Mark Dilger writes: > I am reasonably content with your earlier idea of not keeping support > for ancient versions of OS X, but if you want to do what you describe > above, I'd be happy to review that on my 10.6 box to verify that > everything works at least that far back. I don't have access to

Re: Updated macOS start scripts

2017-11-15 Thread Mark Dilger
> On Nov 15, 2017, at 1:37 PM, Tom Lane wrote: > > Mark Dilger writes: >> I have tested this on 10.11.6. I had no trouble following the instructions >> in the README and everything worked as described. >> As far as I can tell, this patch has not yet been submitted to any >> commitfest. >> I wo

Re: Updated macOS start scripts

2017-11-15 Thread Tom Lane
Mark Dilger writes: > I have tested this on 10.11.6. I had no trouble following the instructions > in the README and everything worked as described. > As far as I can tell, this patch has not yet been submitted to any commitfest. > I would mark it Read for Committer. Thanks for reviewing! Since

Re: Updated macOS start scripts

2017-11-15 Thread Mark Dilger
> On Nov 15, 2017, at 11:00 AM, Tom Lane wrote: > > Mark Dilger writes: >>> On Nov 15, 2017, at 8:32 AM, Tom Lane wrote: >>> The stuff in contrib/start-scripts/osx/ does not, as far as I know, >>> work at all on any recent release of macOS, because SystemStarter >>> is long gone. I propose re

Re: Updated macOS start scripts

2017-11-15 Thread Tom Lane
Mark Dilger writes: >> On Nov 15, 2017, at 8:32 AM, Tom Lane wrote: >> The stuff in contrib/start-scripts/osx/ does not, as far as I know, >> work at all on any recent release of macOS, because SystemStarter >> is long gone. I propose replacing it with the attached, which >> I've tested on curre

Re: Updated macOS start scripts

2017-11-15 Thread Mark Dilger
> On Nov 15, 2017, at 8:32 AM, Tom Lane wrote: > > The stuff in contrib/start-scripts/osx/ does not, as far as I know, > work at all on any recent release of macOS, because SystemStarter > is long gone. I propose replacing it with the attached, which > I've tested on current-vintage Macs. > I

Re: Updated macOS start scripts

2017-11-15 Thread Mark Dilger
> On Nov 15, 2017, at 8:32 AM, Tom Lane wrote: > > The stuff in contrib/start-scripts/osx/ does not, as far as I know, > work at all on any recent release of macOS, because SystemStarter > is long gone. I propose replacing it with the attached, which > I've tested on current-vintage Macs. > >