Feb 2021

1 commit
Simplify jsonfuncs.c code by using strtoint() not strtol().
11 Feb 2021Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

The attached patch only changes long to int64, whereas the commit replaces strtol() with strtoint() in four functions in src/backend/utils/adt/jsonfuncs.c, standardizes conversion checks, and guards against negating INT_MIN. Tom proposed this alternative in #2 and confirmed implementing it in #4; the commit explicitly says it is not Ranier's proposed patch.

Credits across 1 commit

Author
Tom LaneLLM1
Committer
Tom Lane1

N LLM means N of the credits come from LLM analysis, not from commit trailers.