X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 57584D1DF97 for ; Thu, 11 Dec 2003 15:54:05 +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 59931-07 for ; Thu, 11 Dec 2003 11:53:37 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 489E1D1DF80 for ; Thu, 11 Dec 2003 11:53:33 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id hBBFrc19013629; Thu, 11 Dec 2003 10:53:38 -0500 (EST) To: Mark Warner Cc: pgsql-admin@postgresql.org Subject: Re: Shutting down pgsql In-reply-to: <3FD74312.9090608@theitspecialists.net> References: <3FD74312.9090608@theitspecialists.net> Comments: In-reply-to Mark Warner message dated "Wed, 10 Dec 2003 10:00:18 -0600" Date: Thu, 11 Dec 2003 10:53:37 -0500 Message-ID: <13628.1071158017@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/156 X-Sequence-Number: 11664 Mark Warner writes: > Is it possible, advisable, or terribly bad to shutdown a pgsql > database with the do.maintenance script running? You didn't say exactly what that script is doing ... but in general PG queries can be shut down safely. What I'd do is kill the client program running the script and then send SIGINT to the backend it's connected to. Shutting down the whole database is the hard way. regards, tom lane