model-writtenrun 870 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Chao Li demonstrated that a remote login trigger's startup NOTICE bypassed ereport() and reached stderr, then proposed notice-receiver-specific connection wrappers for dblink, postgres_fdw, and libpqwalreceiver in #1.
- Fujii Masao proposed exposing general connection-start and connection-completion phases in #2, and Chao Li implemented that design in #3, documenting mandatory completion even for NULL connections and using start_conn to preserve postgres_fdw's cleanup behavior.
- Vignesh C reproduced the problem, verified the fix, and suggested eliminating temporary variables in the start helpers in #4; Chao Li incorporated those simplifications in #5.
- Rafia Sabih identified redundant NULL checks and questioned the extra connection variable in #6; Fujii Masao explained in #7 that start_conn prevents double cleanup across nested error handlers, and Chao Li retained it while removing three redundant checks in #8.
- Fujii Masao committed #8 with an identical code diff as 06a5c3cdef and announced the landing in #9.
- Peter Eisentraut reported that the committed postgres_fdw continuation line violated Git's whitespace rules in #11, prompting Chao Li's follow-up formatting patch in #12.
- Fujii Masao revised the fix in #13 to retain the leading argument comment while splitting the assignment, reporting that both pgindent and git show --check accepted it; Chao Li confirmed the whitespace check passed in #14.
- The revised formatting patch in #13 landed unchanged as af23353a73, and Fujii Masao's final confirmation in #15 left both the startup-notice fix and its whitespace follow-up committed.