]> granicus.if.org Git - postgresql/commit
Must not reach consistency before XLOG_BACKUP_RECORD
authorSimon Riggs <simon@2ndQuadrant.com>
Wed, 5 Dec 2012 13:28:03 +0000 (13:28 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Wed, 5 Dec 2012 13:28:03 +0000 (13:28 +0000)
commit6aa2e49a878d28fbbbe8efe53c3a729a51a01090
treef93606520a74935c0616da1ac1a414288f2cb025
parent357cbaaeae5bc1f385828be97345e7ea24235f92
Must not reach consistency before XLOG_BACKUP_RECORD
When waiting for an XLOG_BACKUP_RECORD the minRecoveryPoint
will be incorrect, so we must not declare recovery as consistent
before we have seen the record. Major bug allowing recovery to end
too early in some cases, allowing people to see inconsistent db.
This patch to HEAD and 9.2, other fix required for 9.1 and 9.0

Simon Riggs and Andres Freund, bug report by Jeff Janes
src/backend/access/transam/xlog.c