]> granicus.if.org Git - postgresql/commit
Add restartpoint_command option to recovery.conf. Fix bug in %r handling
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 18 Mar 2010 09:17:18 +0000 (09:17 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 18 Mar 2010 09:17:18 +0000 (09:17 +0000)
commitc21ac0b58e8c3bb050d87e213a6f4524b01b2a6d
tree690f96b293965ecbc089816d13ae482382694f9b
parent6407fa996a0f2a9da1fbb91fd47afe97f5743be8
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.
doc/src/sgml/recovery-config.sgml
src/backend/access/transam/xlog.c