X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id DC10FD1D21F for ; Wed, 19 Nov 2003 22:05:38 +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 73522-06 for ; Wed, 19 Nov 2003 18:05:08 -0400 (AST) Received: from sambucca.ecomtel.com.au (sambucca.ecomtel.com.au [210.9.56.2]) by svr1.postgresql.org (Postfix) with ESMTP id 08632D1D167 for ; Wed, 19 Nov 2003 18:05:06 -0400 (AST) Received: from malibu.ecomtel.com.au (lintelsys.com.au) [210.9.56.6] by sambucca.ecomtel.com.au with esmtp (Exim 3.35 #1 (Debian)) id 1AMaRA-0006Fh-00; Thu, 20 Nov 2003 09:04:36 +1100 Message-ID: <3FBBE8F4.70706@lintelsys.com.au> Date: Thu, 20 Nov 2003 09:04:36 +1100 From: Alex Satrapa Organization: Lintelsys User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030716 Debian/1.4-2.he-1 X-Accept-Language: en MIME-Version: 1.0 To: "Randolf Richardson, DevNet SysOp 29" Cc: pgsql-general@postgresql.org Subject: Re: Humor me: Postgresql vs. MySql (esp. licensing) References: <3F850350.9010601@persistent.co.in> <20031009133312.17394.qmail@celery.tssi.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: Not scanned; (mail.ecomtel.com.au) no attachments X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/1069 X-Sequence-Number: 52719 Randolf Richardson, DevNet SysOp 29 wrote: > [sNip] > >>>Do a shutdown -h on a live database machine with pg. It will gracefully >>>shut itself down. >> >>Is that true for all OS flavors and is it dependent upon the DBA having >>set up proper shutdown scripts? > > [sNip] > > When I tested this on PostgreSQL on Novell NetWare 6 it shut down > gracefully. I don't see why this would be different on other Operating > Systems since the code base is essentially the same (isn't it?). No it's not. Don't confuse the PostgreSQL code base with the operating system it's running on. 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. 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. Alex