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
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

kmjungersen/PostgresXL,snaga/postgres-xl,postmind-net/postgres-xl,kmjungersen/PostgresXL,arcivanov/postgres-xl,postmind-net/postgres-xl,snaga/postgres-xl,postmind-net/postgres-xl,arcivanov/postgres-xl,kmjungersen/PostgresXL,postmind-net/postgres-xl,arcivanov/postgres-xl,arcivanov/postgres-xl,arcivanov/postgres-xl,kmjungersen/PostgresXL,postmind-net/postgres-xl,snaga/postgres-xl,snaga/postgres-xl,arcivanov/postgres-xl,snaga/postgres-xl,kmjungersen/PostgresXL