X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9D550D1B50E for ; Thu, 13 Nov 2003 14:55:24 +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 51466-04 for ; Thu, 13 Nov 2003 10:54:56 -0400 (AST) Received: from candle.pha.pa.us (unknown [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 1B705D1B535 for ; Thu, 13 Nov 2003 10:54:50 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id hADEsZ608721; Thu, 13 Nov 2003 09:54:35 -0500 (EST) From: Bruce Momjian Message-Id: <200311131454.hADEsZ608721@candle.pha.pa.us> Subject: Re: Taking database offline In-Reply-To: <20031113070503.46826.qmail@web21401.mail.yahoo.com> To: ow Date: Thu, 13 Nov 2003 09:54:35 -0500 (EST) Cc: "scott.marlowe" , pgsql-admin@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/237 X-Sequence-Number: 11224 ow wrote: > > --- Bruce Momjian wrote: > > > > Rather than restart the server (kicking everyone out), does 'reload' > > help to keep new users out and let the old ones leave on their own? > > > > Not really ... users (old or new) should not work with the db unless it's > completely loaded. Restarting the server will affect activity in other dbs in > that cluster which is not desirable :( IMHO, there should be a way to do this > without restarting the server. You can restrict pg_hba.conf to not allow connections just to one database if you want. -- 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