X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E9489D1D7ED for ; Fri, 21 Nov 2003 15:43:25 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 11291-03 for ; Fri, 21 Nov 2003 11:42:58 -0400 (AST) Received: from candle.pha.pa.us (unknown [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 144FBD1D790 for ; Fri, 21 Nov 2003 11:42:53 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id hALFgGC21387; Fri, 21 Nov 2003 10:42:16 -0500 (EST) From: Bruce Momjian Message-Id: <200311211542.hALFgGC21387@candle.pha.pa.us> Subject: Re: Humor me: Postgresql vs. MySql (esp. licensing) In-Reply-To: <10045.1069399589@sss.pgh.pa.us> To: Tom Lane Date: Fri, 21 Nov 2003 10:42:16 -0500 (EST) Cc: Alex Satrapa , "Randolf Richardson, DevNet SysOp 29" , pgsql-general@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/1205 X-Sequence-Number: 52855 Tom Lane wrote: > Alex Satrapa 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