aboutsummaryrefslogtreecommitdiff
path: root/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2024-03-04 15:09:59 +0100
committerDaniel Gustafsson <dgustafsson@postgresql.org>2024-03-04 15:09:59 +0100
commit084cff7899d62c142f5c5190ef6924a0ffe93893 (patch)
tree7a265e34131ce25e2bea656fdd91718ba23a4322 /src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
parentbe7800674117756a63f3fee68ee4563eff303839 (diff)
downloadpostgresql-084cff7899d62c142f5c5190ef6924a0ffe93893.tar.gz
postgresql-084cff7899d62c142f5c5190ef6924a0ffe93893.zip
Fix crossversion test for unsupported versions
The fix in be78006741 only accounted for supported versions of postgres but the crossversion test use 11 as the source version, which is an EOL version. Fix by removing the lower bound in the adminpack cleanup. Discussion: https://postgr.es/m/0CFB76D0-0510-48B2-9916-1199F93BC28C@yesql.se
Diffstat (limited to 'src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm')
-rw-r--r--src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm b/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
index 8dc1a65e3d6..e4a4dcbd0d2 100644
--- a/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
+++ b/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
@@ -107,7 +107,7 @@ sub adjust_database_contents
}
# we removed the adminpack extension in v17
- if ($old_version >= 12 && $old_version < 17)
+ if ($old_version < 17)
{
_add_st($result, 'regression',
'drop extension if exists adminpack');