Cleanup initialization of Hot Standby. Clarify working with reanalysis

Simon Riggs <simon@2ndQuadrant.com>

Commit: 8431e296ea4cfc8dd30053f89b6970ef16ddbc61
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: 2010-05-13T11:15:38Z
Releases: 9.0.0
Cleanup initialization of Hot Standby. Clarify working with reanalysis
of requirements and documentation on LogStandbySnapshot(). Fixes
two minor bugs reported by Tom Lane that would lead to an incorrect
snapshot after transaction wraparound. Also fix two other problems
discovered that would give incorrect snapshots in certain cases.
ProcArrayApplyRecoveryInfo() substantially rewritten. Some minor
refactoring of xact_redo_apply() and ExpireTreeKnownAssignedTransactionIds().

Files