Find invalid databases during upgrade check stage
Before continuing with the check start by checking that all databases
allow connections to avoid a hard fail without proper error reporting.
Inspired by a larger patch by Thomas Krennwallner.
Discussion: https://postgr.es/m/[email protected]
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f638aafd1ea8505750ca9546e0e0b2e4cf31027d
Modified Files
--------------
src/bin/pg_upgrade/check.c | 37 +++++++++++++++++++++-------------
src/bin/pg_upgrade/t/002_pg_upgrade.pl | 2 +-
2 files changed, 24 insertions(+), 15 deletions(-)