Apr 2023

1 commit
Fix ts_headline() edge cases for empty query and empty search text.
6 Apr 2023Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.3REL_14_STABLE14.8REL_13_STABLE13.11+2 more
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Alexander Lakhin reported empty-query invalid reads and empty-text uninitialized accesses #9, and Tom Lane confirmed fixing them #10. The commit guards TS_execute_locations() against empty queries, corrects empty-text end indexes in src/backend/tsearch/wparser_def.c, and adds regression tests; these changes have no attached patchset.

  • Alexander Lakhinsaw the final versionLLM analysis, 97% sureSupplied reproducing queries, Valgrind diagnostics, and analysis of the empty-text defect before the fix, directly prompting both corrections #9.

Jan 2023

1 commit
Fix ts_headline() to handle ORs and phrase queries more honestly.
19 Jan 2023Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

Applying both patches from #1 to the commit's parent produces byte-identical committed contents in all five changed files, including wparser_def.c, tsvector_op.c, ts_utils.h, and both regression files. The two submitted patches landed together without additional edits.

  • Alvaro Herrerasaw the final versionLLM analysis, 100% sureTested long-distance matches and OR/phrase fragment selection, accepted the scope after discussion, and received explicit review credit in the commit message #2 #4 #5 #7 5a617d75d3.

Credits across 2 commits

Author
Tom LaneLLM1
Committer
Tom Lane2

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