Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e8aecc5

Browse files
committed
Fix cross-version upgrade tests after f0827b4.
Removing the get_columns_length() function from regress.so means we have to drop it when testing upgrades from versions that had it. Per buildfarm. Discussion: https://postgr.es/m/2520881.1709159002@sss.pgh.pa.us
1 parent 6a6b7f5 commit e8aecc5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

+7
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,13 @@ sub adjust_database_contents
106106
'drop extension if exists test_ext7');
107107
}
108108

109+
# we removed this test-support function in v17
110+
if ($old_version >= 15 && $old_version < 17)
111+
{
112+
_add_st($result, 'regression',
113+
'drop function get_columns_length(oid[])');
114+
}
115+
109116
# stuff not supported from release 16
110117
if ($old_version >= 12 && $old_version < 16)
111118
{

0 commit comments

Comments
 (0)