Restartable Recovery - Mailing list pgsql-patches

From Simon Riggs
Subject Restartable Recovery
Date
Msg-id 1152636947.2465.14.camel@localhost.localdomain
Whole thread Raw
Responses Re: Restartable Recovery
List pgsql-patches
On Marko Kreen's detailed suggestion, I've implemented a restartable
recovery mode for archive recovery (aka PITR). Restart points are known
as recovery checkpoints and are normally taken every 100 checkpoints in
the log to ensure good recovery performance.

An additional mode
    standby_mode = 'true'
can also be specified, which ensures that a recovery checkpoint occurs
for each checkpoint in the logs.

Some other code refactorings, though all changes isolated to xlog.c and
to pg_control.h; code comments welcome.

Applies cleanly to cvstip, passes make check.

Further details testing is very desirable. I've tested restarting a
recovery twice and things work successfully.

--
  Simon Riggs
  EnterpriseDB          http://www.enterprisedb.com

Attachment

pgsql-patches by date:

Previous
From: Marko Kreen
Date:
Subject: [patch 5/9] uninstall script
Next
From: Marko Kreen
Date:
Subject: [patch 8/9] Provide SHA2 for older OpenSSL