Nov 2024

2 commits
Fix recently-exposed portability issue in regex optimization.
17 Nov 2024Tom LaneREL_15_STABLE15.10REL_14_STABLE14.15REL_13_STABLE13.18
LLM analysis, 100% surewritten from the discussion, no matching patch2 of 2 reviewers saw the final version

The fixempties() condition in src/backend/regex/regc_nfa.c exactly implements Tom's inline fix in #14, allowing NULL when totalinarcs is zero, with an explanatory comment. Neither attached patchset contains this change.

  • Alexander Lakhinsaw the final versionLLM analysis, 94% sureAlexander reported the new regression test's failure on hornet in #10 and corroborated it on tern in #12, prompting this inline portability fix.
  • Noah Mischsaw the final versionLLM analysis, 100% sureNoah evaluated the inline fix and wrapper alternatives in #15, favoring the narrow one-line change that Tom adopted in #16.
Avoid assertion due to disconnected NFA sub-graphs in regex parsing.
15 Nov 2024Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.2REL_16_STABLE16.6REL_15_STABLE15.10REL_14_STABLE14.15
LLM analysis, 99% surelanded as postedfrom patchset #61 of 1 reviewer saw the final version

The commit matches all code and regression-test changes in #6; the only changed-line difference is omission of the parameter name from the removecantmatch() prototype to fit the target branch's declaration style. Tom confirmed pushing the reviewed patch in #9.

  • Aleksander Alekseevsaw the final versionLLM analysis, 100% sureAleksander explicitly reviewed, applied, and tested #6 on Linux x64 and macOS x64, reported LGTM in #7, and accepted the CANTMATCH name in #8.

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.