aboutsummaryrefslogtreecommitdiff
path: root/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm')
-rw-r--r--src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm b/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
index e4a4dcbd0d2..211b71cb701 100644
--- a/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
+++ b/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
@@ -109,10 +109,8 @@ sub adjust_database_contents
# we removed the adminpack extension in v17
if ($old_version < 17)
{
- _add_st($result, 'regression',
- 'drop extension if exists adminpack');
_add_st($result, 'postgres',
- 'drop database contrib_regression_adminpack');
+ 'drop database if exists contrib_regression_adminpack');
delete($dbnames{'contrib_regression_adminpack'});
}