model-writtenrun 6851 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Chinmay Kanchi reported that GIN equality extraction ignored methods following literal operands, causing both jsonb_ops and jsonb_path_ops scans to silently omit rows returned by sequential scans, and supplied reproductions in #1.
- Tom Lane supplied a combined patch in #2 that rejects literals with following items and fixes a previously reported De Morgan's law error when extracting index conditions beneath NOT, adding comments and regression coverage.
- Tom Lane committed #2 unchanged apart from base-dependent offsets as d987ad61d3 on October 13, with backpatching through PostgreSQL 14.
- The earlier De Morgan's law fix from thread #254129 was incorporated into the combined submission #2, which is the latest matching source for d987ad61d3.
- After the commit, Rui Zhao confirmed that the original fixes covered both reports but demonstrated another omission in #3: methods following an entire predicate could make all 1012 rows match while GIN returned only two.
- Rui Zhao attached a fix on top of the original patch in #3, rejecting predicates with following items and adding regression tests; he reported all 239 core regression tests passing, but the thread ends without a response or a supplied commit landing this follow-up.