pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alex Satrapa <alex@lintelsys.com.au>
Cc: Randolf Richardson, DevNet SysOp 29 <rr@8x.ca>
Cc: pgsql-general@postgresql.org
Subject: Re: Humor me: Postgresql vs. MySql (esp. licensing)
Date: Fri, 21 Nov 2003 10:42:16 -0500 (EST)
Message-ID: <200311211542.hALFgGC21387@candle.pha.pa.us> (raw)
In-Reply-To: <10045.1069399589@sss.pgh.pa.us>

Tom Lane wrote:
> Alex Satrapa <alex@lintelsys.com.au> writes:
> > On Mac OS X (desktop version, at least) there are no shutdown scripts. 
> > All running applications are simply sent the "TERM" signal, then later 
> > sent the "KILL" signal. Luckily enough, PostgreSQL seems to respond to 
> > TERM by shutting down gracefully.
> 
> No "luckily" about it: that's been the standard shutdown procedure for
> Unix systems since approximately forever, and the signal responses of
> the Postgres backend were consciously chosen to behave well with it.
> 
> > Totally off topic, but this lack of shutdown scripts, along with a lack 
> > of proper package management are the two most painful faults in Mac OS X.
> 
> I dunno whether OS X is lacking in shutdown scripts or not --- but PG
> is built to shut down cleanly on any moderately-standard Unix system,
> whether you have a shutdown script for it or not.  OS X is certainly
> standard enough for this.

The one problem with the signal approach is how long does the system
wait before giving up on the app shutdown?  Seems that should be
something controllable by the admin, but without shutdown scripts, it
isn't.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (111+ messages)  latest in thread

Message-ID: <200311211542.hALFgGC21387@candle.pha.pa.us>
Permalink:  ../200311211542.hALFgGC21387@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200311211542.hALFgGC21387@candle.pha.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, alex@lintelsys.com.au, rr@8x.ca
  Subject: Re: Humor me: Postgresql vs. MySql (esp. licensing)
  In-Reply-To: <200311211542.hALFgGC21387@candle.pha.pa.us>
  References: <10045.1069399589@sss.pgh.pa.us> <200311211542.hALFgGC21387@candle.pha.pa.us>

* 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