Re: [HACKERS] Point in Time Recovery - Mailing list pgsql-patches

From Klaus Naumann
Subject Re: [HACKERS] Point in Time Recovery
Date
Msg-id Pine.LNX.4.58.0407210946170.930@spock.intra.net
Whole thread Raw
In response to Re: [HACKERS] Point in Time Recovery  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Point in Time Recovery  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
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 <simon@2ndquadrant.com> 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)

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Point in Time Recovery
Next
From: "Magnus Hagander"
Date:
Subject: Re: win32 readline