Ensure no xid gaps during Hot Standby startup

Simon Riggs <simon@2ndQuadrant.com>

Commit: 99ee15b315c187045a95db7b27fd9d866aea93e0
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: 2013-06-23T13:41:07Z
Releases: 9.2.5
Ensure no xid gaps during Hot Standby startup

In some cases with higher numbers of subtransactions
it was possible for us to incorrectly initialize
subtrans leading to complaints of missing pages.

Bug report by Sergey Konoplev
Analysis and fix by Andres Freund

Files