aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.source
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-12-11 08:48:52 +0900
committerMichael Paquier <michael@paquier.xyz>2024-12-11 08:48:52 +0900
commit8afff7d6db25ab52f155d8a220f692d7d6d84152 (patch)
treedff436786b6938c1f1b6a9c3c718a4331354e59e /src/tutorial/funcs.source
parent4bd9de3f4190242d3dbc3ddb2b1a5f87027efdd0 (diff)
downloadpostgresql-8afff7d6db25ab52f155d8a220f692d7d6d84152.tar.gz
postgresql-8afff7d6db25ab52f155d8a220f692d7d6d84152.zip
Improve reporting of pg_upgrade log files on test failure
On failure, the pg_upgrade log files are automatically appended to the test log file, but the information reported was inconsistent. A header, with the log file name, was reported with note(), while the log contents and a footer used print(), making it harder to diagnose failures when these are split into console output and test log file because the pg_upgrade log file path in the header may not be included in the test log file. The output is now consolidated so as the header uses print() rather than note(). An extra note() is added to inform that the contents of a pg_upgrade log file are appended to the test log file. The diffs from the regression test suite and dump files all use print() to show their contents on failure. Author: Joel Jacobson Reviewed-by: Daniel Gustafsson Discussion: https://postgr.es/m/49f7e64a-b9be-4a90-a9fe-210a7740405e@app.fastmail.com Backpatch-through: 15
Diffstat (limited to 'src/tutorial/funcs.source')
0 files changed, 0 insertions, 0 deletions