Aug 2025

2 commits
Put "excludeOnly" GIN scan keys at the end of the scankey array.
26 Aug 2025Tom Lanemaster19beta1REL_19_STABLE19beta1REL_18_STABLE18rc1REL_17_STABLE17.7REL_16_STABLE16.11REL_15_STABLE15.15REL_14_STABLE14.20REL_13_STABLE13.23
LLM analysis, 100% suremodified before commitlight changesfrom patchset #21 of 1 reviewer saw the final version

The ginscan.c change matches the second patch in #2 exactly modulo hunk offsets. The commit adds regression cases in contrib/pg_trgm/sql/pg_trgm.sql and its expected output, following the diagnosis in #3 and reproducer in #4.

  • Arseniy Mukhinsaw the final versionLLM analysis, 99% sureBefore the commit, Arseniy explained why the existing test avoided the loop and considered a simpler key swap in #3, prompting the regression case in #4.
Do CHECK_FOR_INTERRUPTS inside, not before, scanGetItem.
26 Aug 2025Tom Lanemaster19beta1REL_19_STABLE19beta1REL_18_STABLE18rc1REL_17_STABLE17.7REL_16_STABLE16.11REL_15_STABLE15.15REL_14_STABLE14.20REL_13_STABLE13.23
LLM analysis, 100% surelanded as postedfrom patchset #21 of 1 reviewer saw the final version

Both ginget.c hunks match the first patch in #2 exactly modulo hunk offsets: CHECK_FOR_INTERRUPTS moves from gingetbitmap into scanGetItem’s retry loop.

  • Arseniy Mukhinsaw the final versionLLM analysis, 88% sureArseniy’s pre-commit reply #3 ends with a +1 endorsement of the interrupt-check proposal in #2.

Credits across 2 commits

Author
Tom Lane2
Reported by
Tim Wood2
Committer
Tom Lane2