model-writtenrun 5937 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Haiying Tang reported that dropping NOT NULL from a replica identity index column allowed NULL values that could trigger an assertion failure during deletion, and supplied a patch co-authored with Hou Zhijie to block the operation and test it #1.
- Michael Paquier agreed that the operation should be blocked but pointed out that ngettext() selects plural forms and should not choose between primary-key and replica-identity errors #2.
- Tang submitted a revision with separate error branches while retaining the original index check and regression test #3.
- Dilip Kumar reviewed the revised patch and said it looked fine and solved the reported problem #4.
- Michael committed the revised patch with light comment, formatting, and error-wording edits as f0d43947a1, then confirmed that the fix had been applied through PostgreSQL 10, leaving no outstanding work in the thread #5.