aboutsummaryrefslogtreecommitdiff
path: root/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2025-04-08 20:21:03 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2025-04-08 20:21:03 -0400
commitb65b9da568fd93f8fe3b41f4074f225eead104d2 (patch)
treeacdf51834aea7df47a1a867bfca9f82f8628c908 /src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
parentb1720fe63f344adeb8a75b22e8f31b127c814f35 (diff)
downloadpostgresql-b65b9da568fd93f8fe3b41f4074f225eead104d2.tar.gz
postgresql-b65b9da568fd93f8fe3b41f4074f225eead104d2.zip
Adjust AdjustUpgrade.pm for commit b1720fe63.
Need to delete the functions we no longer have available from the dumps to be reloaded from old versions. Per buildfarm.
Diffstat (limited to 'src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm')
-rw-r--r--src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm b/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
index c451aea3ac9..609275e2c26 100644
--- a/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
+++ b/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm
@@ -112,6 +112,16 @@ sub adjust_database_contents
'drop extension if exists test_ext7');
}
+ # we removed these test-support functions in v18
+ if ($old_version < 18)
+ {
+ _add_st($result, 'regression', 'drop function ttdummy()');
+ _add_st($result, 'regression', 'drop function set_ttdummy(integer)');
+ _add_st($result, 'regression', 'drop function autoinc()');
+ _add_st($result, 'regression', 'drop function check_foreign_key()');
+ _add_st($result, 'regression', 'drop function check_primary_key()');
+ }
+
# we removed this test-support function in v17
if ($old_version >= 15 && $old_version < 17)
{