Skip to content

Commit 6d99895

Browse files
author
Alexander Korotkov
committed
Fix int64 GUCs range validation.
1 parent 700743a commit 6d99895

File tree

1 file changed

+1
-1
lines changed
  • src/backend/utils/misc

1 file changed

+1
-1
lines changed

src/backend/utils/misc/guc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5949,7 +5949,7 @@ parse_and_validate_value(struct config_generic * record,
59495949
return false;
59505950
}
59515951

5952-
if (newval->intval < conf->min || newval->intval > conf->max)
5952+
if (newval->int64val < conf->min || newval->int64val > conf->max)
59535953
{
59545954
ereport(elevel,
59555955
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),

0 commit comments

Comments
 (0)