model-writtenrun 1837 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Noah Misch reported in #1 that StatisticsObjIsVisibleExt() failed to exclude the temporary namespace, producing incorrect visibility results, psql listings, and unqualified object descriptions.
- The patch in #1 made the visibility search skip the temporary namespace and added regression coverage for qualified descriptions, false visibility, and rejection of an unqualified DROP STATISTICS.
- Noah Misch also observed in #1 that statistics on temporary tables default to a permanent schema and considered that existing behavior acceptable.
- Nathan Bossart reviewed the patch and said it looked good in #2, the thread's final message, without requesting changes.
- After that approval, Noah Misch committed #1 unchanged as a95393ecdb, with backpatching through PostgreSQL 13; the complete submitted fix landed.