@@ -287,7 +287,7 @@ ExplainQuery(ParseState *pstate, ExplainStmt *stmt,
287
287
if (es -> wal && !es -> analyze )
288
288
ereport (ERROR ,
289
289
(errcode (ERRCODE_INVALID_PARAMETER_VALUE ),
290
- errmsg ("EXPLAIN optionWAL requires ANALYZE" )));
290
+ errmsg ("EXPLAIN option%s requires ANALYZE" , "WAL " )));
291
291
292
292
/* if the timing was not set explicitly, set default value */
293
293
es -> timing = (timing_set ) ?es -> timing :es -> analyze ;
@@ -296,13 +296,13 @@ ExplainQuery(ParseState *pstate, ExplainStmt *stmt,
296
296
if (es -> timing && !es -> analyze )
297
297
ereport (ERROR ,
298
298
(errcode (ERRCODE_INVALID_PARAMETER_VALUE ),
299
- errmsg ("EXPLAIN optionTIMING requires ANALYZE" )));
299
+ errmsg ("EXPLAIN option%s requires ANALYZE" , "TIMING " )));
300
300
301
301
/* check that serialize is used with EXPLAIN ANALYZE */
302
302
if (es -> serialize != EXPLAIN_SERIALIZE_NONE && !es -> analyze )
303
303
ereport (ERROR ,
304
304
(errcode (ERRCODE_INVALID_PARAMETER_VALUE ),
305
- errmsg ("EXPLAIN optionSERIALIZE requires ANALYZE" )));
305
+ errmsg ("EXPLAIN option%s requires ANALYZE" , "SERIALIZE " )));
306
306
307
307
/* check that GENERIC_PLAN is not used with EXPLAIN ANALYZE */
308
308
if (es -> generic && es -> analyze )