pgsql: Find invalid databases during upgrade check stage - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: Find invalid databases during upgrade check stage
Date
Msg-id E1t8hIA-000Tc0-PT@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

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(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: Remove unused variable
Next
From: Jeff Davis
Date:
Subject: pgsql: Fix lc_collate_is_c() when LC_COLLATE != LC_CTYPE.