Fix typo
This commit is contained in:
parent
64087eb5de
commit
f0ec598b43
@ -722,7 +722,7 @@ pg_stat_get_prefetch_recovery(PG_FUNCTION_ARGS)
|
|||||||
if (!(rsinfo->allowedModes & SFRM_Materialize))
|
if (!(rsinfo->allowedModes & SFRM_Materialize))
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
(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)
|
if (get_call_result_type(fcinfo, NULL, &tupdesc) != TYPEFUNC_COMPOSITE)
|
||||||
elog(ERROR, "return type must be a row type");
|
elog(ERROR, "return type must be a row type");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user