Re: [HACKERS] Point in Time Recovery

From: Klaus Naumann <kn(at)mgnet(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Klaus Naumann <kn(at)mgnet(dot)de>, markw(at)osdl(dot)org, pgman(at)candle(dot)pha(dot)pa(dot)us, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Point in Time Recovery
Date: 2004-07-21 07:49:01
Message-ID: Pine.LNX.4.58.0407210946170.930@spock.intra.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers 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(at)2ndquadrant(dot)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(at)mgnet(dot)de)

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Howard Bagcat 2004-07-21 09:28:15 Re: execute user-defined BKI
Previous Message Peter Eisentraut 2004-07-21 07:29:42 Re: execute user-defined BKI

Browse pgsql-hackers by date

  From Date Subject
Next Message Gaetano Mendola 2004-07-21 09:13:00 Re: check point segments leakage ?
Previous Message Tom Lane 2004-07-21 05:49:54 Re: [HACKERS] Point in Time Recovery

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2004-07-21 08:13:06 Re: win32 readline
Previous Message Tom Lane 2004-07-21 05:49:54 Re: [HACKERS] Point in Time Recovery