model-writtenrun 4548 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- chunling qin reported that Memoize incorrectly shared cached rows between byte-distinct text values when a hashable join operator used stricter equality than the type's default operator, providing a reproducer and root-cause analysis in #1.
- David Rowley submitted two patches in #2, describing the correctness fix as LLM-generated under his supervision and directing it to use the join operator for matching input types and compatible hash-family operators for differing types instead of switching to binary comparison.
- In #2, David also proposed skipping unused hash and equality initialization in binary mode for master only, while leaving the planner's default-type hash-operator checks intact because removing them offered limited benefit and might override deliberate type restrictions.
- After further review, David replaced the new operator-lookup helper with get_compatible_hash_operators() while retaining the regression tests; 8cdf3c9214 landed that revised first patch, and #3 confirmed the fix was backpatched through PostgreSQL 15.
- At the thread's last message, David still planned to examine the second patch for master #3; it subsequently landed as 76c0df7381 with light initialization and comment edits, completing both submitted changes.