Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbe78006

Browse files
Adjust pg_upgrade crossversion test for adminpack
Commitcc09e65 which removed the adminpack extension failed toinstrument the crossversion pg_upgrade test to drop the extensionbefore attempting an upgrade to v17.Discussion:https://postgr.es/m/0CFB76D0-0510-48B2-9916-1199F93BC28C@yesql.se
1 parent43a8875 commitbe78006

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,16 @@ sub adjust_database_contents
106106
'drop extension if exists test_ext7');
107107
}
108108

109+
# we removed the adminpack extension in v17
110+
if ($old_version >= 12 &&$old_version < 17)
111+
{
112+
_add_st($result,'regression',
113+
'drop extension if exists adminpack');
114+
_add_st($result,'postgres',
115+
'drop database contrib_regression_adminpack');
116+
delete($dbnames{'contrib_regression_adminpack'});
117+
}
118+
109119
# we removed this test-support function in v17
110120
if ($old_version >= 15 &&$old_version < 17)
111121
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp