Nov 2026

4 commits
Handle numeric overflow when handling range values
5 Nov 2026Tomas VondramasterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
LLM analysis, 100% suremodified before commitlight changesfrom patchset #91 of 2 reviewers saw the final version

The commit preserves the numrange_subdiff() logic from #9 in src/backend/utils/adt/rangetypes.c, with formatting and comment edits, relocation of the unchanged regression test, and a broader commit description. The patch and commit credit Kirill Reshke as author; #10 confirms the remaining fix was pushed with minor tweaks.

  • shihao zhongsaw an earlier versiontrailerIn #7, Shihao reviewed #6 and identified that reversed operands require negative infinity on overflow, prompting the behavioral correction in #9.
  • Tomas Vondrasaw the final versioncommittercommitted the patch
Fix BRIN minmax-multi distance calculation for OID
2 Nov 2026Tomas Vondramasterunreleased
LLM analysis, 88% surepart of a posted patchsetlight changesfrom patchset #62 of 2 reviewers saw the final version

This commits the OID component of #6: a dedicated unsigned distance function, pg_amproc.dat/pg_proc.dat wiring, and regression tests. The implementation matches the described approach, but unavailable attachments prevent exact comparison; #9 confirms its landing.

  • Kirill Reshkesaw the final versiontrailerKirill endorsed Tomas's overflow fixes in #8, and no subsequent OID logic revision is evidenced.
  • shihao zhongsaw the final versiontrailerShihao reviewed the combined submission in #7, with specific comments on numeric and multirange behavior; the commit credits his review and no subsequent OID logic revision is evidenced.
Fix BRIN minmax-multi distance for tid values
2 Nov 2026Tomas VondramasterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
LLM analysis, 92% surepart of a posted patchsetlight changesfrom patchset #61 of 1 reviewer saw the final version

This commits the TID component of #6, adding two double casts before multiplication in brin_minmax_multi_distance_tid(). It matches the described fix and preserves the explicitly deferred offset-mapping issue, although missing attachments prevent exact comparison.

  • Kirill Reshkesaw the final versionLLM analysis, 79% sureKirill's pre-commit endorsement of Tomas's overflow fixes in #8 reasonably covers the TID overflow fix introduced in #6, with no later TID revision evidenced.
Handle numeric overflow in numeric_minmax_multi_ops
2 Nov 2026Tomas VondramasterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
LLM analysis, 94% surepart of a posted patchsetmoderate changesfrom patchset #60 of 1 reviewer saw the final version

This commits the numeric BRIN component of #6, derived from Kirill's #1, with regression tests and explicit NaN handling requested in #7. The commit credits Kirill and Tomas jointly; the NaN branches are a local behavioral addition after the combined submission.

  • shihao zhongsaw an earlier versiontrailerShihao validated the overflow reasoning and identified missing NaN handling in #7, after which the committed function gained explicit NaN branches.

Credits across 4 commits

Author
Tomas Vondra3
Kirill Reshke2
Reviewer
shihao zhong3
Kirill Reshke1
Tomas Vondracommitter1
Committer
Tomas Vondra4