Fix AdjustUpgrade.pm's view conversion list for --with-lz4.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 18 Jan 2023 21:51:40 +0000 (16:51 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 18 Jan 2023 21:51:40 +0000 (16:51 -0500)
Turns out the compression.sql test creates a view that needs
to be adjusted in the wake of 47bb9db75 --- except that without
--with-lz4, it fails to create the view at all, so I'd not
noticed this in testing.

Per buildfarm member crake.

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

index 5bed1d68395b38f80fe5d68b3041210c6727364a..349bebeaeafe54b93c554aa9877eea6ac76118c1 100644 (file)
@@ -484,7 +484,9 @@ my @_unused_view_qualifiers = (
    { obj => 'VIEW public.limit_thousand_v_1', qual => 'onek' },
    { obj => 'VIEW public.limit_thousand_v_2', qual => 'onek' },
    { obj => 'VIEW public.limit_thousand_v_3', qual => 'onek' },
-   { obj => 'VIEW public.limit_thousand_v_4', qual => 'onek' });
+   { obj => 'VIEW public.limit_thousand_v_4', qual => 'onek' },
+   # Since 14
+   { obj => 'MATERIALIZED VIEW public.compressmv', qual => 'cmdata1' });
 
 # Internal subroutine to remove no-longer-used table qualifiers from
 # CREATE [MATERIALIZED] VIEW commands.  See list of targeted views above.