postgresql/src/bin/pg_upgrade/t
Alvaro Herrera 56455ebd35
Skip invalid database pg_upgrade test on obsolete servers
When testing pg_upgrade against an old server, ignore failures on the
check to upgrade invalid databases.  This is necessary because old
servers don't know to raise the appropriate error of the database being
invalid.

This change causes no reduction in coverage, because such old versions
don't know to mark databases invalid when a drop is interrupted; but
testing against such old servers is useful in some circumstances.

Backpatch to 16, where it cherry-picks with minimal conflicts.

On 16, perltidy 20230309 chooses to change an unrelated line.  I let it
do that because that's the version we document as preferred for that
branch, even though it would make other changes to many other files in
the tree.

Discussion: https://postgr.es/m/202404181539.lh42llaesnv3@alvherre.pgsql
2024-05-01 11:50:05 +02:00
..
001_basic.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
002_pg_upgrade.pl Skip invalid database pg_upgrade test on obsolete servers 2024-05-01 11:50:05 +02:00
003_logical_slots.pl Add a failover option to subscriptions. 2024-01-30 16:49:28 +05:30
004_subscription.pl Fix typos and duplicate words 2024-04-18 21:28:07 +02:00