@@ -287,7 +287,7 @@ ExplainQuery(ParseState *pstate, ExplainStmt *stmt,
287287if (es -> wal && !es -> analyze )
288288ereport (ERROR ,
289289(errcode (ERRCODE_INVALID_PARAMETER_VALUE ),
290- errmsg ("EXPLAIN optionWAL requires ANALYZE" )));
290+ errmsg ("EXPLAIN option%s requires ANALYZE" , "WAL " )));
291291
292292/* if the timing was not set explicitly, set default value */
293293es -> timing = (timing_set ) ?es -> timing :es -> analyze ;
@@ -296,13 +296,13 @@ ExplainQuery(ParseState *pstate, ExplainStmt *stmt,
296296if (es -> timing && !es -> analyze )
297297ereport (ERROR ,
298298(errcode (ERRCODE_INVALID_PARAMETER_VALUE ),
299- errmsg ("EXPLAIN optionTIMING requires ANALYZE" )));
299+ errmsg ("EXPLAIN option%s requires ANALYZE" , "TIMING " )));
300300
301301/* check that serialize is used with EXPLAIN ANALYZE */
302302if (es -> serialize != EXPLAIN_SERIALIZE_NONE && !es -> analyze )
303303ereport (ERROR ,
304304(errcode (ERRCODE_INVALID_PARAMETER_VALUE ),
305- errmsg ("EXPLAIN optionSERIALIZE requires ANALYZE" )));
305+ errmsg ("EXPLAIN option%s requires ANALYZE" , "SERIALIZE " )));
306306
307307/* check that GENERIC_PLAN is not used with EXPLAIN ANALYZE */
308308if (es -> generic && es -> analyze )