From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Alex Satrapa <alex(at)lintelsys(dot)com(dot)au>, "Randolf Richardson, DevNet SysOp 29" <rr(at)8x(dot)ca>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Humor me: Postgresql vs. MySql (esp. licensing) |
Date: | 2003-11-21 15:42:16 |
Message-ID: | 200311211542.hALFgGC21387@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tom Lane wrote:
> Alex Satrapa <alex(at)lintelsys(dot)com(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Treat | 2003-11-21 15:45:17 | Re: Postgresql vs. MySql - need feature matrix for |
Previous Message | Bruno Wolff III | 2003-11-21 15:39:45 | Re: linking postgre to AD |