model-writtenrun 7787 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Korotkov opened the thread with a quoted web-search example that failed to match its own input because a multi-lexeme token used AND instead of phrase operators, attaching a quote-sensitive fix while identifying the analogous to_tsquery() problem #1.
- Tom Lane reviewed the patch and argued that multi-lexeme tokens should use phrase operators even without an enclosing phrase expression, simplifying the broader fix; Alexander accepted this approach #3 #4.
- Alexander posted an intermediate revision applying phrase operators in both to_tsquery() and websearch_to_tsquery(), while preserving plainto_tsquery() because changing it would make it equivalent to phraseto_tsquery() #5.
- Neil Chen supplied missing expected regression output locally and reported successful regression and manual tests; Alexander acknowledged the omission, and Neil's documentation review found no conflicting documented behavior #6 #7 #8.
- At the thread's final message, Alexander supplied the complete revised patch with comments and a commit message, agreed that documentation changes were unnecessary, and announced his intention to commit absent objections #9.
- The final patch landed unchanged apart from rebase metadata as 0c4f355c6a from #9; its broader change to positional matching was explicitly considered unsuitable for backpatching.