This commit is contained in:
Peter Eisentraut 2021-04-19 22:47:43 +02:00
parent 64087eb5de
commit f0ec598b43

View File

@ -722,7 +722,7 @@ pg_stat_get_prefetch_recovery(PG_FUNCTION_ARGS)
if (!(rsinfo->allowedModes & SFRM_Materialize))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("materialize mod required, but it is not allowed in this context")));
errmsg("materialize mode required, but it is not allowed in this context")));
if (get_call_result_type(fcinfo, NULL, &tupdesc) != TYPEFUNC_COMPOSITE)
elog(ERROR, "return type must be a row type");