diff --git a/src/backend/access/transam/xlogrecovery.c b/src/backend/access/transam/xlogrecovery.c index c0c2744d45b..fc794693442 100644 --- a/src/backend/access/transam/xlogrecovery.c +++ b/src/backend/access/transam/xlogrecovery.c @@ -5070,7 +5070,7 @@ check_recovery_target_timeline(char **newval, void **extra, GucSource source) if (timeline < 1 || timeline > PG_UINT32_MAX) { GUC_check_errdetail("\"%s\" must be between %u and %u.", - "recovery_target_timeline", 1, UINT_MAX); + "recovery_target_timeline", 1, PG_UINT32_MAX); return false; } }