model-writtenrun 238 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut reported that Clang's undefined-behavior sanitizer flags PostgreSQL's intentional function-pointer type mismatches, particularly in expression tree walkers and mutators #1.
- Peter proposed pg_attribute_no_sanitize_function() annotations at the relatively few functions making these calls, preserving sanitizer checks elsewhere instead of disabling the check globally #1.
- Chao Li reviewed the patch favorably and requested an additional annotation for hash_update_hash_key(), which also invokes callbacks through mismatched function-pointer types #2.
- Peter accepted the suggestion, explaining that the original annotations covered test-suite failures while the additional hash-table case was not exercised by current callers #3.
- Peter committed the submitted patch with the additional annotation as 3ff475ac12 and confirmed completion in the thread's final message #4.