Fix typo
authorPeter Eisentraut
Mon, 19 Apr 2021 20:47:43 +0000 (22:47 +0200)
committerPeter Eisentraut
Wed, 21 Apr 2021 06:07:37 +0000 (08:07 +0200)
src/backend/access/transam/xlogprefetch.c

index 2178c9086e6198674dd209d4177f00bcaa53825a..9a6f17ca3609f181667d6b5d355e9b99d65903c6 100644 (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");