Jul 2025

2 commits
Clarify the ra != rb case in compareJsonbContainers().
15 Jul 2025Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #6

The commit preserves the comment rewrite and both WJB_DONE assertions from #6 in src/backend/utils/adt/jsonb_util.c, with small wording edits. The obsolete comment lines had already been removed by 6c93bf735c.

Silence uninitialized-value warnings in compareJsonbContainers().
15 Jul 2025Tom Lanemaster19beta1REL_19_STABLE19beta1REL_18_STABLE18beta3REL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14REL_14_STABLE14.19REL_13_STABLE13.22Also in: gcc 15.1 warnings - jsonb_util.c (not this thread)
LLM analysis, 100% surelanded as postedfrom patchset #31 of 1 reviewer saw the final version

All five hunks match #3 modulo base offsets: the comment removal, iterator contract update, val->type initialization on terminal paths, and revised error fallback in src/backend/utils/adt/jsonb_util.c.

  • Andres Freundsaw the final versiontrailerAndres accepted the iterator-initialization approach in #4 while correcting Tom's explanation of pg_assume in assertion-enabled builds.

Credits across 2 commits

Author
Tom Lane2
Reviewer
Andres Freund1
Reported by
Erik Rijkers1
Committer
Tom Lane2