mirror of
https://github.com/postgres/postgres.git
synced 2026-04-21 14:19:26 -04:00
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:
parent
9842e8aca0
commit
0dc22fff64
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue