Skip to content

Commit b65b9da

Browse files
committed
Adjust AdjustUpgrade.pm for commit b1720fe.
Need to delete the functions we no longer have available from the dumps to be reloaded from old versions. Per buildfarm.
1 parent b1720fe commit b65b9da

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
@@ -112,6 +112,16 @@ sub adjust_database_contents
112112
'drop extension if exists test_ext7');
113113
}
114114

115+
# we removed these test-support functions in v18
116+
if ($old_version < 18)
117+
{
118+
_add_st($result, 'regression', 'drop function ttdummy()');
119+
_add_st($result, 'regression', 'drop function set_ttdummy(integer)');
120+
_add_st($result, 'regression', 'drop function autoinc()');
121+
_add_st($result, 'regression', 'drop function check_foreign_key()');
122+
_add_st($result, 'regression', 'drop function check_primary_key()');
123+
}
124+
115125
# we removed this test-support function in v17
116126
if ($old_version >= 15 && $old_version < 17)
117127
{

0 commit comments

Comments
 (0)