Dec 2023

2 commits
Micro-optimize datum_to_json_internal() some more.
18 Dec 2023Nathan Bossartmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #131 of 1 reviewer saw the final version

The commit combines all three patches from #13; their added and removed lines match the committed boolean, null, and cast changes in src/backend/utils/adt/json.c.

  • Tom Lanesaw the final versiontrailerTom Lane approved the complete follow-up series in #14, which was committed unchanged.
Micro-optimize JSONTYPE_NUMERIC code path in json.c.
8 Dec 2023Nathan Bossartmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #92 of 4 reviewers saw the final version

Compared with #9, the only changed-line difference is replacing sizeof(literal) - 1 with strlen(literal) for separator lengths in composite_to_json(). Nathan confirmed adopting John Naylor's suggestion and committing in #12.

  • Jeff Davissaw an earlier versiontrailerJeff Davis endorsed the initial length-caching patch in #2, before numeric validation and quoting were reworked.
  • Tom Lanesaw the final versiontrailerTom Lane proposed simplifying validation and quoting in #3 and #7, then approved the final attached version in #10.
  • David Rowleysaw an earlier versiontrailerDavid Rowley examined separator-length folding and proposed removing the separator conditional in #4, before the numeric-path rework.
  • John Naylorsaw the final versiontrailerJohn Naylor proposed the literal strlen() expressions in #11, which Nathan adopted as the sole edit to the final attached patch.

Credits across 2 commits

Author
Nathan BossartLLM2
Reviewer
Tom Lane2
David Rowley1
Jeff Davis1
John Naylor1
Committer
Nathan Bossart2

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