model-writtenrun 8188 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Barry Pederson reported that websearch_to_tsquery() produced a query for quoted “pg_class pg” that failed to match the original text, and demonstrated that connecting all three lexemes with phrase operators worked #1.
- Alexander Korotkov agreed that the behavior was counterintuitive and undertook an investigation #2.
- Alexander Korotkov posted a preliminary patch that converted OP_AND to OP_PHRASE inside quotes, acknowledged that its abstractions needed more work, and requested review of its user-visible behavior #3.
- This thread ended with that review request and contains no subsequent testing, revision, or confirmation that the preliminary patch landed #3.
- The eventual fix landed as 0c4f355c6a from the later patchset #468280 in thread #43238, changing complex-morph handling for both to_tsquery() and websearch_to_tsquery() and updating regression tests; its broader positional-matching behavior prevented backpatching.