postgresql/src/bin/pg_upgrade
Michael Paquier 73db8f4d17 Improve handling and logging of TAP tests for pg_upgrade
This commit includes a set of improvements to help with the debugging of
failures in these new TAP tests:
- Instead of a plain diff command to compare the dumps generated, use
File::Compare::compare for the same effect.  diff is still used to
provide more context in the event of an error.
- Log the contents of regression.diffs if the pg_regress command fails.
- Unify the format of the logs generated, getting inspiration from the
style used in 027_stream_regress.pl.

wrasse is the only buildfarm member that has reported a failure until
now after the introduction of 322becb, complaining that the dumps
generated do not match, and I am lacking information to understand what
is going in this environment.
2022-04-01 12:45:40 +09:00
..
po Translation updates 2021-06-21 12:33:50 +02:00
t Improve handling and logging of TAP tests for pg_upgrade 2022-04-01 12:45:40 +09:00
.gitignore pg_upgrade: Move all the files generated internally to a subdirectory 2022-02-06 12:27:29 +09:00
check.c List offending databases in pg_upgrade datallowconn check 2022-03-24 22:41:40 +01:00
controldata.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
dump.c pg_upgrade: Don't print progress status when output is not a tty. 2022-02-21 08:34:59 -08:00
exec.c pg_upgrade: Move all the files generated internally to a subdirectory 2022-02-06 12:27:29 +09:00
file.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
function.c pg_upgrade: Move all the files generated internally to a subdirectory 2022-02-06 12:27:29 +09:00
IMPLEMENTATION pg_upgrade: Preserve database OIDs. 2022-01-24 14:23:43 -05:00
info.c Add option to use ICU as global locale provider 2022-03-17 11:13:16 +01:00
Makefile Switch the regression tests of pg_upgrade to use TAP tests 2022-04-01 10:13:50 +09:00
nls.mk Translation updates 2021-05-10 14:36:21 +02:00
option.c pg_upgrade: Don't print progress status when output is not a tty. 2022-02-21 08:34:59 -08:00
parallel.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_upgrade.c pg_upgrade: Don't print progress status when output is not a tty. 2022-02-21 08:34:59 -08:00
pg_upgrade.h Add option to use ICU as global locale provider 2022-03-17 11:13:16 +01:00
relfilenode.c pg_upgrade: Don't print progress status when output is not a tty. 2022-02-21 08:34:59 -08:00
server.c Fix check for PGHOST[ADDR] in pg_upgrade with Windows and temporary paths 2022-03-02 07:37:07 +09:00
tablespace.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
TESTING Switch the regression tests of pg_upgrade to use TAP tests 2022-04-01 10:13:50 +09:00
upgrade_adapt.sql Move into separate file all the SQL queries used in pg_upgrade tests 2021-12-02 10:31:20 +09:00
util.c pg_upgrade: Don't print progress status when output is not a tty. 2022-02-21 08:34:59 -08:00
version.c Update copyright for 2022 2022-01-07 19:04:57 -05:00