pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Klaus Naumann <kn@mgnet.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: Klaus Naumann <kn@mgnet.de>
Cc: markw@osdl.org
Cc: pgman@candle.pha.pa.us
Cc: pgsql-patches@postgresql.org
Subject: Re: [HACKERS] Point in Time Recovery
Date: Wed, 21 Jul 2004 09:49:01 +0200 (CEST)
Message-ID: <Pine.LNX.4.58.0407210946170.930@spock.intra.net> (raw)
In-Reply-To: <4589.1090388994@sss.pgh.pa.us>
References: <200407201536.i6KFa7122392@mail.osdl.org>
	<Pine.LNX.4.58.0407201825340.930@spock.intra.net>
	<1090344478.3377.8.camel@stromboli>
	<4589.1090388994@sss.pgh.pa.us>

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)



view thread (111+ messages)  latest in thread

Message-ID: <Pine.LNX.4.58.0407210946170.930@spock.intra.net>
Permalink:  ../Pine.LNX.4.58.0407210946170.930@spock.intra.net/
Also on:    postgresql.org/message-id/Pine.LNX.4.58.0407210946170.930@spock.intra.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: kn@mgnet.de, tgl@sss.pgh.pa.us, simon@2ndquadrant.com, markw@osdl.org, pgman@candle.pha.pa.us, pgsql-patches@postgresql.org
  Subject: Re: [HACKERS] Point in Time Recovery
  In-Reply-To: <Pine.LNX.4.58.0407210946170.930@spock.intra.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox