pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Dilger <hornschnorter@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: Updated macOS start scripts
Date: Wed, 15 Nov 2017 10:13:21 -0800
Message-ID: <6D443E39-13C2-4185-9FE4-B5CB416AB06E@gmail.com> (raw)
In-Reply-To: <31338.1510763554@sss.pgh.pa.us>
References: <31338.1510763554@sss.pgh.pa.us>


> On Nov 15, 2017, at 8:32 AM, Tom Lane <tgl@sss.pgh.pa.us> 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 tested the presence of SystemStarter, which the old implementation
uses, and launchd and launchctl, which your new implementation uses,
on a couple of my mac laptops:

	OS X 10.11.6
		SystemStarter  - not installed
		launchd - installed
		launchctl - installed

	OS X 10.6.8
		SystemStarter - installed
		launchd - installed
		launchctl - installed

According to Wikipedia:

"SystemStarter appears to have been removed from OS X 10.10 and later (reference needed)."

and

"In Mac OS X v10.4, it was deprecated in favor of launchd"

Overall, I think supporting 10.10 and greater is more relevant than continuing
to support 10.4 and earlier, though I suppose someone could argue for
keeping both in side-by-side files with the README directing users which to
use for whichever version of OS X they happen to be running.  It's of no
consequence to me, since my oldest mac is running 10.6.8, but somebody
from the museum of old macs might feel differently.

mark




view thread (14+ messages)  latest in thread

Message-ID: <6D443E39-13C2-4185-9FE4-B5CB416AB06E@gmail.com>
Permalink:  ../6D443E39-13C2-4185-9FE4-B5CB416AB06E@gmail.com/
Also on:    postgresql.org/message-id/6D443E39-13C2-4185-9FE4-B5CB416AB06E@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: hornschnorter@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Updated macOS start scripts
  In-Reply-To: <6D443E39-13C2-4185-9FE4-B5CB416AB06E@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox