Ensure no xid gaps during Hot Standby startup

Simon Riggs <simon@2ndQuadrant.com>

Commit: 1f09121b4edee8b4d4cdd4ee0a8cffacee7b85f7
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: 2013-06-23T10:05:02Z
Releases: 9.4.0
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