model-writtenrun 3040 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- The thread began with Masahiko Sawada’s security-fix announcement in #1, introducing restrict_nonsystem_relation_kind to prevent pg_dump from accessing substituted non-system views or foreign tables that could execute attacker-controlled code.
- Peter Eisentraut pointed out in #2 that the parameter descriptions omitted the non-system qualification and made “restricted” ambiguous; Masahiko proposed “prohibited” in #3, and Peter refined that wording in #4.
- Peter also suggested documenting the setting as intended for pg_dump in #4, but Tom Lane argued that other catalog-scanning tools could use it in #5; Masahiko’s description patch in #6 left out that limitation.
- Peter endorsed the attached description changes in #7, and Masahiko announced plans to push them across branches in #8; 6f2525c775 subsequently landed the wording from #6 unchanged apart from branch context.
- In the final message, #8, Masahiko also proposed a separate patch adding relation names to foreign-table restriction errors and an explicit check in ExecuteTruncateGuts(), asking whether duplicating the check in more places was appropriate; that proposal has no review response or corresponding landing in the supplied record.