model-writtenrun 7535 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andrew Dunstan requested automatic installation of amcheck after trying to use pg_amcheck in cross-version upgrade checks, and floated optional removal afterward without a settled design #1.
- Mark Dilger supplied --install-missing with an optional schema argument, explicitly selecting and escaping the schema because pg_amcheck clears search_path; the first version defaulted to public and did not implement automatic removal #2.
- Andrew Dunstan proposed pg_catalog as the default, and Mark Dilger updated both the SQL and documentation accordingly #3 #4.
- The discussion broadened to whether pg_amcheck belonged in contrib alongside amcheck or whether extensions should gain a src/extensions directory; Robert Haas argued that relocation would not solve the installation problem, while Tom Lane supported keeping both in contrib but opposed installing amcheck by default #5 #6 #8 #9.
- Mark Dilger defended separate client and server packaging and raised security concerns about making amcheck available, while Michael Paquier and Robert Haas explained that database superusers already have access to server files and the server's operating-system account #10 #13 #18 #21.
- Alvaro Herrera advocated leaving the source layout unchanged for this release and reconsidering extensions in the next development cycle, and Andrew Dunstan accepted postponement; Tom Lane continued to question whether a separate extensions directory would provide a useful distinction #22 #23 #24 #27.
- The privilege-boundary discussion continued separately within the thread: Mark Dilger explored container restrictions, Tom Lane distinguished the operating-system administrator from the server account, and Stephen Frost recommended granting additional capabilities to non-superusers instead of trying to constrain superusers #29 #30 #31 #32.
- Andrew Dunstan committed the revised patch #4 as b859d94c63, consolidating default and explicit schema installation into one code path, and closed the thread by announcing the push #33; the installation option landed, while packaging changes and privilege-boundary proposals remained outside the commit.