@ -6187,7 +6187,7 @@ CheckRequiredParameterValues(void)
* For archive recovery , the WAL must be generated with at least ' archive '
* For archive recovery , the WAL must be generated with at least ' archive '
* wal_level .
* wal_level .
*/
*/
if ( In ArchiveRecovery & & ControlFile - > wal_level = = WAL_LEVEL_MINIMAL )
if ( ArchiveRecoveryRequested & & ControlFile - > wal_level = = WAL_LEVEL_MINIMAL )
{
{
ereport ( WARNING ,
ereport ( WARNING ,
( errmsg ( " WAL was generated with wal_level=minimal, data may be missing " ) ,
( errmsg ( " WAL was generated with wal_level=minimal, data may be missing " ) ,
@ -6198,7 +6198,7 @@ CheckRequiredParameterValues(void)
* For Hot Standby , the WAL must be generated with ' hot_standby ' mode , and
* For Hot Standby , the WAL must be generated with ' hot_standby ' mode , and
* we must have at least as many backend slots as the primary .
* we must have at least as many backend slots as the primary .
*/
*/
if ( In ArchiveRecovery & & EnableHotStandby )
if ( ArchiveRecoveryRequested & & EnableHotStandby )
{
{
if ( ControlFile - > wal_level < WAL_LEVEL_HOT_STANDBY )
if ( ControlFile - > wal_level < WAL_LEVEL_HOT_STANDBY )
ereport ( ERROR ,
ereport ( ERROR ,