File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -92,10 +92,6 @@ sub filter_dump
9292 PostgreSQL::Test::Cluster-> new(' old_node' ,
9393 install_path => $ENV {oldinstall });
9494
95- # Numeric major version of old cluster, ignoring "devel" suffix.
96- # Needed for testing upgrades from development version to itself.
97- my $old_major_version = int ($oldnode -> pg_version =~ s / devel// rg );
98-
9995my %node_params = ();
10096
10197# To increase coverage of non-standard segment size and group access without
@@ -118,10 +114,10 @@ sub filter_dump
118114my $original_datlocale = " " ;
119115my $provider_field = " 'c' AS datlocprovider" ;
120116my $old_datlocale_field = " NULL AS datlocale" ;
121- if ($old_major_version >= 15 && $ENV {with_icu } eq ' yes' )
117+ if ($oldnode -> pg_version >= 15 && $ENV {with_icu } eq ' yes' )
122118{
123119 $provider_field = " datlocprovider" ;
124- if ($old_major_version >= 17 )
120+ if ($oldnode -> pg_version >= ' 17devel ' )
125121 {
126122 $old_datlocale_field = " datlocale" ;
127123 }
You can’t perform that action at this time.
0 commit comments