postgres.git / summary / log / commit / refs
commit f0ec598b4323d8b29df5c67f2cd0000547a507ed
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Mon Apr 19 20:47:43 2021 +0000
First released in: 14.0
Fix typo
src/backend/access/transam/xlogprefetch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/access/transam/xlogprefetch.c b/src/backend/access/transam/xlogprefetch.c
index 2178c9086e6..9a6f17ca360 100644
--- a/src/backend/access/transam/xlogprefetch.c
+++ b/src/backend/access/transam/xlogprefetch.c
@@ -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");
[parent: 64087eb5def7]