Fix constant in error message for recovery_target_timeline

The intention was to use PG_UINT32_MAX, not UINT_MAX.  Let's be
consistent and use the same constant.

Thinko in fd7d7b7191.

Author: David Steele <david@pgbackrest.org>
Discussion: https://postgr.es/m/aZfXO97jSQaTTlfD@paquier.xyz
This commit is contained in:
Michael Paquier 2026-02-20 16:17:57 +09:00
parent 9842e8aca0
commit 0dc22fff64

View file

@ -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;
}
}