model-writtenrun 1000 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Julien Tachoires reported a PostgreSQL 14 customer failure when cloning a table with INCLUDING ALL and submitted a reproducing test plus an attribute-number remapping fix in #1.
- Srinath Reddy Sadipiralla reproduced the problem and endorsed the fix, requesting a four-column test to expose statistics silently referencing the wrong column in #2.
- Andrew Dunstan combined the patches, retained the remapping implementation, expanded tests to cover both lookup errors and incorrect column selection, and clarified the function comment in #3; he noted that releases before 18 needed test adjustments.
- Srinath approved the revised patch in #4, and Ayush Tiwari subsequently confirmed the parent/child attribute-number mismatch and supported backporting in #5, the thread's final message.
- After the discussion ended, Andrew committed #3 unchanged as 6cf49e804c, crediting Julien as author and Srinath as reviewer, with backports through PostgreSQL 14 and no remaining patch work identified.