Revert the patch to check if we've reached end-of-backup also when doing crash recovery, and throw an error if not. hubert depesz lubaczewski pointed out that that situation also happens in the crash recovery following a system crash that happens during an online backup.
Revert the patch to check if we've reached end-of-backup also when doing
crash recovery, and throw an error if not. hubert depesz lubaczewski pointed
out that that situation also happens in the crash recovery following a
system crash that happens during an online backup.

We might want to do something smarter in 9.1, like put the check back for
backups taken with pg_basebackup, but that's for another patch.

pavanvd/postgres-xl,arcivanov/postgres-xl,kmjungersen/PostgresXL,arcivanov/postgres-xl,pavanvd/postgres-xl,adam8157/gpdb,postmind-net/postgres-xl,ashwinstar/gpdb,postmind-net/postgres-xl,ovr/postgres-xl,adam8157/gpdb,techdragon/Postgres-XL,oberstet/postgres-xl,kmjungersen/PostgresXL,xinzweb/gpdb,tpostgres-projects/tPostgres,adam8157/gpdb,oberstet/postgres-xl,ovr/postgres-xl,snaga/postgres-xl,greenplum-db/gpdb,kmjungersen/PostgresXL,xinzweb/gpdb,yazun/postgres-xl,jmcatamney/gpdb,snaga/postgres-xl,yazun/postgres-xl,pavanvd/postgres-xl,adam8157/gpdb,greenplum-db/gpdb,adam8157/gpdb,arcivanov/postgres-xl,adam8157/gpdb,xinzweb/gpdb,xinzweb/gpdb,50wu/gpdb,techdragon/Postgres-XL,ashwinstar/gpdb,50wu/gpdb,techdragon/Postgres-XL,oberstet/postgres-xl,jmcatamney/gpdb,lisakowen/gpdb,xinzweb/gpdb,tpostgres-projects/tPostgres,techdragon/Postgres-XL,greenplum-db/gpdb,zeroae/postgres-xl,jmcatamney/gpdb,lisakowen/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,arcivanov/postgres-xl,Postgres-XL/Postgres-XL,lisakowen/gpdb,yazun/postgres-xl,jmcatamney/gpdb,ovr/postgres-xl,greenplum-db/gpdb,oberstet/postgres-xl,Postgres-XL/Postgres-XL,xinzweb/gpdb,kmjungersen/PostgresXL,pavanvd/postgres-xl,techdragon/Postgres-XL,greenplum-db/gpdb,tpostgres-projects/tPostgres,Postgres-XL/Postgres-XL,snaga/postgres-xl,snaga/postgres-xl,pavanvd/postgres-xl,oberstet/postgres-xl,xinzweb/gpdb,50wu/gpdb,zeroae/postgres-xl,tpostgres-projects/tPostgres,adam8157/gpdb,zeroae/postgres-xl,Postgres-XL/Postgres-XL,ashwinstar/gpdb,jmcatamney/gpdb,50wu/gpdb,postmind-net/postgres-xl,postmind-net/postgres-xl,jmcatamney/gpdb,ashwinstar/gpdb,50wu/gpdb,greenplum-db/gpdb,ovr/postgres-xl,lisakowen/gpdb,yazun/postgres-xl,Postgres-XL/Postgres-XL,ashwinstar/gpdb,postmind-net/postgres-xl,jmcatamney/gpdb,jmcatamney/gpdb,arcivanov/postgres-xl,tpostgres-projects/tPostgres,lisakowen/gpdb,ovr/postgres-xl,50wu/gpdb,yazun/postgres-xl,arcivanov/postgres-xl,lisakowen/gpdb,zeroae/postgres-xl,kmjungersen/PostgresXL,xinzweb/gpdb,ashwinstar/gpdb,zeroae/postgres-xl,ashwinstar/gpdb,lisakowen/gpdb,adam8157/gpdb,50wu/gpdb,greenplum-db/gpdb,snaga/postgres-xl,50wu/gpdb,lisakowen/gpdb