]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Find invalid databases during upgrade check stage
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 6 Nov 2024 14:40:52 +0000 (15:40 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 6 Nov 2024 14:40:52 +0000 (15:40 +0100)
commitf638aafd1ea8505750ca9546e0e0b2e4cf31027d
tree930d26986912430eb6c98897cf30197992783d33
parent1e37cc6e2c1f39565275b5dabf0f301c2ece95e1
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/f9315bf0-e03e-4490-9f0d-5b6f7a6d9908@postsubmeta.net
src/bin/pg_upgrade/check.c
src/bin/pg_upgrade/t/002_pg_upgrade.pl