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

Commitc18c12c

Browse files
committed
AdjustUpgrade.pm should zap test_ext_cine, too.
test_extensions' test_ext_cine extension has the same upgrade hazardas test_ext7: the regression test leaves it in an updated statefrom which no downgrade path to default is provided. This causesthe update_extensions.sql script helpfully provided by pg_upgradeto fail. So drop it in cross-version-upgrade testing.Not entirely sure how come I didn't hit this in testing yesterday;possibly I'd built the upgrade reference databases withtestmodules-install-check disabled.Backpatch to v10 where this module was introduced.
1 parentddd89df commitc18c12c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,13 @@ sub adjust_database_contents
8888
}
8989
}
9090

91-
# avoid versionnumberissues with test_ext7
91+
# avoidno-path-to-downgrade-extension-version issues
9292
if ($dbnames{contrib_regression_test_extensions})
9393
{
9494
_add_st(
9595
$result,
9696
'contrib_regression_test_extensions',
97+
'drop extension if exists test_ext_cine',
9798
'drop extension if exists test_ext7');
9899
}
99100

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp