Jul 2020

2 commits
Forbid numeric NaN in jsonpath
11 Jul 2020Alexander Korotkovmaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13beta3+1 more
LLM analysis, 100% surelanded as postedfrom patchset #200 of 1 reviewer saw the final version

The commit diff exactly matches the second patch in #20, removing NaN serialization handling from src/backend/utils/adt/jsonb_util.c, rejecting nonfinite .double() results in both conversion paths, and updating regression expectations.

  • Tom Lanesaw an earlier versiontrailerTom reviewed #15 in #19, requesting removal of the assertion and additional numeric-input Inf/NaN checks; these moderate logic changes appeared in #20, with no subsequent pre-commit review shown.
Improve error reporting for jsonpath .double() method
11 Jul 2020Alexander Korotkovmaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13beta3+1 more
LLM analysis, 100% surelanded as postedfrom patchset #201 of 1 reviewer saw the final version

The commit diff exactly matches the first patch in #20, improving the two .double() conversion errors in src/backend/utils/adt/jsonpath_exec.c and adding the numeric overflow regression case.

  • Tom Lanesaw the final versiontrailerTom supplied replacement error wording in #19 after reviewing #15, and only light wording and test organization changes followed in this patch before #20.

Credits across 2 commits

Author
Alexander Korotkov2
Reviewer
Tom Lane2
Reported by
Tom Lane1
Committer
Alexander Korotkov2