X-Original-To: pgsql-patches-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CFE9BD1B438 for ; Wed, 21 Jul 2004 04:41:45 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 72811-03 for ; Wed, 21 Jul 2004 07:41:23 +0000 (GMT) Received: from gallardo.mgnet.de (217-114-211-98.kunde.vdserver.de [217.114.211.98]) by svr1.postgresql.org (Postfix) with ESMTP id F34A0D1B269 for ; Wed, 21 Jul 2004 04:41:19 -0300 (ADT) Received: (qmail 3771 invoked by uid 1011); 21 Jul 2004 07:41:20 -0000 Received: from kn@mgnet.de by gallardo by uid 1009 with qmail-scanner-1.22 (f-prot: 4.4.1/3.14.11. spamassassin: 2.63. Clear:RC:1(217.232.195.106):. Processed in 0.382848 secs); 21 Jul 2004 07:41:20 -0000 Received: from unknown (HELO spock.intra.net) (217.232.195.106) by 0 with SMTP; 21 Jul 2004 07:41:19 -0000 Date: Wed, 21 Jul 2004 09:49:01 +0200 (CEST) From: Klaus Naumann X-X-Sender: spock@spock.intra.net To: Tom Lane Cc: Simon Riggs , Klaus Naumann , markw@osdl.org, pgman@candle.pha.pa.us, pgsql-patches@postgresql.org Subject: Re: [HACKERS] Point in Time Recovery In-Reply-To: <4589.1090388994@sss.pgh.pa.us> Message-ID: References: <200407201536.i6KFa7122392@mail.osdl.org> <1090344478.3377.8.camel@stromboli> <4589.1090388994@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.2 tagged_above=0.0 required=5.0 tests=RCVD_IN_NJABL, RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200407/364 X-Sequence-Number: 12034 On Wed, 21 Jul 2004, Tom Lane wrote: Hi Tom, Simon doesn't mean the recovery part. Instead he means the "normal" startup of the server. It has to be absolutely clear (in the logfile!) if the server was started in archive mode or not. Otherwise you always have to guess. On server startup there should to be a message like LOG: Database started in archive mode or LOG: Archive mode is DISABLED To get the users attention. Greetings, Klaus > Simon Riggs writes: > > A more important omission is the deletion of a message to indicate that > > the server is acting in archive_mode....so there's no visual clue in the > > log to warn an admin that its been turned off now or incorrectly > > specified (by somebody else, of course). (At least using the default log > > mode). > > Hmm, we are apparently not reading the same code. My copy shows > > LOG: starting archive recovery > LOG: restore_command = "cp /home/postgres/testversion/archive/%f %p" > ... blah blah ... > LOG: archive recovery complete > > Which part of this is insufficiently clear? > > regards, tom lane > > -- Full Name : Klaus Naumann | (http://www.mgnet.de/) (Germany) Phone / FAX : ++49/177/7862964 | E-Mail: (kn@mgnet.de)