postgres.git / summary / log / commit / refs
commit cb6945dc8061d03e6ec670a6856228f12e94264c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Mon Mar 04 18:10:30 2024 +0000
First released in: 17.0
Further further fix pg_upgrade crossversion test for adminpack.
Apparently, buildfarm animal crake has the adminpack regression DB
named as "regression_adminpack" in some branches. Not clear why
I didn't see that when testing here. In any case, drop that too.
Discussion: https://postgr.es/m/0CFB76D0-0510-48B2-9916-1199F93BC28C@yesql.se
src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm b/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
index 211b71cb701..250aa001cf5 100644
--- a/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
+++ b/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
@@ -111,7 +111,10 @@ sub adjust_database_contents
{
_add_st($result, 'postgres',
'drop database if exists contrib_regression_adminpack');
+ _add_st($result, 'postgres',
+ 'drop database if exists regression_adminpack');
delete($dbnames{'contrib_regression_adminpack'});
+ delete($dbnames{'regression_adminpack'});
}
# we removed this test-support function in v17
[parent: fce2ce797c41]