May 2025

2 commits
Adjust regex for test with opening parenthesis in character classes
28 May 2025Michael Paquiermaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2REL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14REL_14_STABLE14.19REL_13_STABLE13.22
LLM analysis, 100% surewritten from the discussion, no matching patch

Michael Paquier reported the newly committed parenthesis test's invalid regex in #10 and promised a fix; no attachment contains that correction. This commit balances the parentheses in src/test/regress/sql/strings.sql and replaces the expected error with a query plan in src/test/regress/expected/strings.out.

Fix conversion of SIMILAR TO regexes for character classes
27 May 2025Michael Paquiermaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2REL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14REL_14_STABLE14.19REL_13_STABLE13.22
LLM analysis, 100% suremodified before commitlight changesfrom patchset #52 of 2 reviewers saw the final version

The src/backend/utils/adt/regexp.c changes exactly match #5, whose patch header credits Laurenz Albe despite Michael Paquier sending it. The committed tests adopt Tom Lane's TEXT_TBL-based EXPLAIN form from #7, changing SQL and expected output without changing the implementation.

  • Tom Lanesaw the final versiontrailerIn #7, he approved the code changes and proposed more stable, shorter TEXT_TBL-based regression queries, which were adopted before commit.
  • Michael Paquiersaw the final versiontrailerHe questioned caret handling and test coverage in #2 and #3, supplied the reviewed revision in #5, and confirmed his final review and commit in #9.

Credits across 2 commits

Author
Laurenz Albe1
Reviewer
Michael Paquier1
Tom Lane1
Committer
Michael Paquier2