pgsql: Add restartpoint_command option to recovery.conf.

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add restartpoint_command option to recovery.conf.
Date: 2010-03-18 09:17:18
Message-ID: 20100318091718.BC14D7541D0@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Add restartpoint_command option to recovery.conf. Fix bug in %r handling
in recovery_end_command, it always came out as 0 because InRedo was
cleared before recovery_end_command was executed. Also, always take
ControlFileLock when reading checkpoint location for %r.

The recovery_end_command bug and the missing locking was present in 8.4
as well, that part of this patch will be backported separately.

Modified Files:
--------------
pgsql/doc/src/sgml:
recovery-config.sgml (r2.2 -> r2.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/recovery-config.sgml?r1=2.2&r2=2.3)
pgsql/src/backend/access/transam:
xlog.c (r1.381 -> r1.382)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.381&r2=1.382)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-03-18 09:18:55 pgsql: Fix bug in %r handling in recovery_end_command, it always came
Previous Message Simon Riggs 2010-03-18 07:01:05 pgsql: Add vacuum_defer_cleanup_age to postgresql.conf.sample.