Do wal_level and hot standby checks when doing crash-then-archive recovery.
Do wal_level and hot standby checks when doing crash-then-archive recovery.

CheckRequiredParameterValues() should perform the checks if archive recovery
was requested, even if we are going to perform crash recovery first.

Reported by Kyotaro HORIGUCHI. Backpatch to 9.2, like the crash-then-archive
recovery mode.

yazun/postgres-xl,Postgres-XL/Postgres-XL,lisakowen/gpdb,ashwinstar/gpdb,lisakowen/gpdb,jmcatamney/gpdb,50wu/gpdb,greenplum-db/gpdb,ovr/postgres-xl,yazun/postgres-xl,ovr/postgres-xl,pavanvd/postgres-xl,techdragon/Postgres-XL,yazun/postgres-xl,greenplum-db/gpdb,zeroae/postgres-xl,lisakowen/gpdb,Postgres-XL/Postgres-XL,50wu/gpdb,pavanvd/postgres-xl,adam8157/gpdb,techdragon/Postgres-XL,jmcatamney/gpdb,jmcatamney/gpdb,oberstet/postgres-xl,ashwinstar/gpdb,Postgres-XL/Postgres-XL,greenplum-db/gpdb,zeroae/postgres-xl,Postgres-XL/Postgres-XL,adam8157/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,lisakowen/gpdb,greenplum-db/gpdb,oberstet/postgres-xl,ashwinstar/gpdb,greenplum-db/gpdb,50wu/gpdb,xinzweb/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,oberstet/postgres-xl,oberstet/postgres-xl,adam8157/gpdb,pavanvd/postgres-xl,ashwinstar/gpdb,xinzweb/gpdb,zeroae/postgres-xl,ashwinstar/gpdb,lisakowen/gpdb,ashwinstar/gpdb,techdragon/Postgres-XL,ovr/postgres-xl,xinzweb/gpdb,ovr/postgres-xl,jmcatamney/gpdb,techdragon/Postgres-XL,ovr/postgres-xl,xinzweb/gpdb,50wu/gpdb,50wu/gpdb,jmcatamney/gpdb,pavanvd/postgres-xl,lisakowen/gpdb,adam8157/gpdb,yazun/postgres-xl,ashwinstar/gpdb,yazun/postgres-xl,adam8157/gpdb,greenplum-db/gpdb,xinzweb/gpdb,Postgres-XL/Postgres-XL,zeroae/postgres-xl,lisakowen/gpdb,50wu/gpdb,jmcatamney/gpdb,adam8157/gpdb,oberstet/postgres-xl,xinzweb/gpdb,adam8157/gpdb,50wu/gpdb,adam8157/gpdb,zeroae/postgres-xl,jmcatamney/gpdb,xinzweb/gpdb,50wu/gpdb,lisakowen/gpdb,techdragon/Postgres-XL,greenplum-db/gpdb