1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-18 13:44:19 +03:00

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.
This commit is contained in:
Tom Lane 2025-04-08 20:21:03 -04:00
parent b1720fe63f
commit b65b9da568

View File

@ -112,6 +112,16 @@ sub adjust_database_contents
'drop extension if exists test_ext7'); '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 # we removed this test-support function in v17
if ($old_version >= 15 && $old_version < 17) if ($old_version >= 15 && $old_version < 17)
{ {