pgsql: Find invalid databases during upgrade check stage

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Find invalid databases during upgrade check stage
Date: 2024-11-06 14:45:55
Message-ID: E1t8hIA-000Tc0-PT@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2024-11-06 22:49:05 pgsql: Fix lc_collate_is_c() when LC_COLLATE != LC_CTYPE.
Previous Message Daniel Gustafsson 2024-11-06 14:12:35 pgsql: Remove unused variable