Repair sometimes-incorrect computation of StartUpID after a crash, per

Tom Lane <tgl@sss.pgh.pa.us>

Commit: bab030b288fb88359b5ce82ab68ebf374f207935
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-05-22T14:39:49Z
Releases: 7.3.3
Repair sometimes-incorrect computation of StartUpID after a crash, per
example from Rao Kumar.  This is a very corner corner-case, requiring
a minimum of three closely-spaced database crashes and an unlucky
positioning of the second recovery's checkpoint record before you'd notice
any problem.  But the consequences are dire enough that it's a must-fix.

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +66 −52