model-writtenrun 671 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jeff Davis submitted #1 on July 6, 2026, explaining that the bug affected only the selectivity calculation.
- The patch in #1 uses wpos to calculate and extract the remaining pattern, preventing trailing prefix characters from being passed to like_selectivity().
- The supplied thread ends with #1, with no review replies or revised submissions.
- Jeff Davis committed the patch unchanged apart from its shifted hunk location on July 15, 2026, as cc33580878, which specifies backpatching through PostgreSQL 19 and completes the submitted fix.