model-writtenrun 3075 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Kukushkin proposed reporting search_path in 2014 so PgBouncer could preserve schema selection when pooling connections used by different application versions, supplying an inline GUC_REPORT change in #1.
- Tom Lane opposed the proposal because frequent changes inside functions could generate excessive network traffic and because he questioned whether search_path belonged among client-visible reported settings; he suggested reporting changes once before ReadyForQuery in #3.
- Alexander explained how transaction pooling could select the wrong stored procedures and supplied an illustrative PgBouncer change, arguing that server notifications were necessary because scanning SQL could not detect every search_path change in #4.
- Jelte Fennema-Nio revived the work in November 2023, explaining that PostgreSQL 14 had already addressed repeated reporting and that leaked search_path settings remained a serious PgBouncer problem, then attached the one-line patch in #5 and #6.
- Tomas Vondra supported committing the small improvement while broader configurable reporting remained uncertain; Jelte explained that future protocol changes would reuse the same notifications, and they discussed the limitations of an SQL-settable reporting configuration in #7, #8, #9, #10, and #11.
- Tomas posted the unchanged code with an expanded rationale and author credits in #12, and Jelte approved that presentation in #13.
- Tomas committed the patch as 28a1121fd9 with only further commit-message wording changes, announcing the landing in #14 while leaving broader protocol improvements to their separate discussion.
- Tom then identified missing documentation in #15; Tomas located the parameter lists in libpq.sgml and protocol.sgml in #16, and Tom confirmed that scope in #17.
- Tomas added search_path and its PostgreSQL 18 introduction to both documentation lists in 0d06a7eac4, confirmed the correction in #18, and received Tom's approval in #19, leaving both the feature and its documentation landed.