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

Lines changed: 7 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy