]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Drop index behind pg_upgrade test issue.
authorPeter Geoghegan <pg@bowt.ie>
Thu, 11 Mar 2021 03:00:46 +0000 (19:00 -0800)
committerPeter Geoghegan <pg@bowt.ie>
Thu, 11 Mar 2021 03:00:46 +0000 (19:00 -0800)
commit006c52668ab3c93b4e18a5c53a51f28faa9603a2
tree3c856a74ac63ef25432918ffa16f1ef9142189a6
parentb463490f9061232f77941e9b369b9343117d5748
Drop index behind pg_upgrade test issue.

The vacuum_cleanup_index_scale_factor storage parameter was set in a
btree index that was previously left behind in the regression test
database.  As a result, the index gets tested within pg_dump and
pg_restore tests, as well as pg_upgrade testing.  This won't work when
upgrading to Postgres 14, though, because the storage parameter was
removed on that version by commit 9f3665fb.

Fix the test failure by dropping the index in question.

Per buildfarm member crake.

Discussion: https://postgr.es/m/CAH2-WzmeXYBWdhF7BMhNjhq9exsk=E1ohqBFAwzPdXJZ1XDMUA@mail.gmail.com
Backpatch: 11-12 only
src/test/regress/expected/btree_index.out
src/test/regress/sql/btree_index.sql