model-writtenrun 6906 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Vismay Tiwari reproduced catalog shadowing in ALTER DATABASE ... RESET completion and submitted a patch qualifying pg_db_role_setting and pg_database with pg_catalog; he omitted tests because completion-query internals lacked TAP coverage #1.
- Kirill Reshke supported the fix but challenged the vulnerability framing, and Vismay agreed that the change addressed consistency and robustness rather than a security vulnerability #2 #3.
- Paul Kim verified the fix against shadowing and legitimate database settings, reported a clean build, confirmed the PostgreSQL 18 backpatch scope, agreed with omitting tests, and suggested toning down the commit message #4.
- Paul Kim subsequently forwarded Vismay's patch in thread #248580, whose later matching attachment #1148321 takes precedence for commit attribution over the original submission #1.
- Fujii Masao approved the patch and observed that an earlier fix had qualified unnest() while leaving the catalog references unqualified #5.
- Fujii committed the catalog qualifications with unchanged code and revised explanatory wording as 42ce84f878, attributed to the later matching attachment in thread #248580, with backpatching through PostgreSQL 18; he confirmed the push, leaving no work pending in this thread #6.