aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogprefetch.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-04-19 22:47:43 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-04-21 08:07:37 +0200
commitf0ec598b4323d8b29df5c67f2cd0000547a507ed (patch)
tree2a84b1d81fc0df39c513fe9c66d3228dc81e72f0 /src/backend/access/transam/xlogprefetch.c
parent64087eb5def7786bd49e60eb5d984ec6e4a872a9 (diff)
downloadpostgresql-f0ec598b4323d8b29df5c67f2cd0000547a507ed.tar.gz
postgresql-f0ec598b4323d8b29df5c67f2cd0000547a507ed.zip
Fix typo
Diffstat (limited to 'src/backend/access/transam/xlogprefetch.c')
-rw-r--r--src/backend/access/transam/xlogprefetch.c2
1 files changed, 1 insertions, 1 deletions
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");