model-writtenrun 2867 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Joel Jacobson reported that pg_upgrade failure-log headers appeared in TAP output while their contents and footers went to the test logfile, and proposed either consolidating everything in TAP or keeping the logs together in the logfile with informative TAP notices #1.
- Daniel Gustafsson preferred keeping log contents in the logfile so lengthy logs would not obscure test output #2.
- Joel agreed and submitted a patch that prints each log header alongside its contents and footer, while TAP notices identify the destination logfile and each appended log #3.
- Michael Paquier endorsed the attached implementation because upgrade logs can be very long and said he would consider backpatching it #4.
- Michael subsequently committed the attached patch unchanged apart from its description and rebased context, with backports through PostgreSQL 15; this completed the proposed fix #3 8ede501685.