model-writtenrun 5279 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Erki Eessaar opened the discussion with a demonstration suggesting that dependency tracking in PostgreSQL 14 SQL-standard routine bodies made an explicit search_path unnecessary, and asked for the security documentation to reflect this #1.
- Bruce Momjian proposed a documentation warning emphasizing runtime evaluation of non-sql_body functions #2; Tom Lane accepted the substance but requested spell-checking #3, and Bruce supplied a version correcting one misspelling #4.
- Bruce committed the corrected patch unchanged as 1703726488 and announced backpatches through PostgreSQL 10 #5.
- Peter Eisentraut pointed out that backpatching below PostgreSQL 14 was inappropriate because those branches lacked SQL-standard bodies #6.
- Noah Misch explained that SQL-standard bodies can call code affected by search_path and still require other SECURITY DEFINER precautions, arguing that the section should retain general best-practice guidance rather than introduce insufficiently explained exceptions #7.
- Bruce accepted the objections and reverted the addition across all affected branches with f77becbe5a, confirming the reversal and inviting replacement wording #8 #9.
- Erki then demonstrated a SQL-standard function calling another function whose behavior depended on search_path and proposed a paragraph explicitly preserving the recommendation #10; Bruce questioned whether this explanation improved the existing general guidance #11.
- After supplying another example involving temporary-table binding, Erki agreed that the extra paragraph could confuse readers and was unnecessary #12; Bruce left future improvements open #13, and Noah endorsed the restored documentation, leaving no replacement patch pending #14.