postgresql/contrib/pageinspect/sql
Heikki Linnakangas 5abca4b1cd Fix test failure with wal_level=minimal.
The newly-added gist pageinspect test prints the LSNs of GiST pages,
expecting them all to be 1 (GistBuildLSN). But with wal_level=minimal,
they got updated by the whole-relation WAL-logging at commit. Fix by
wrapping the problematic tests in the same transaction with the CREATE
INDEX.

Per buildfarm failure on thorntail.

Discussion: https://www.postgresql.org/message-id/3B4F97E5-40FB-4142-8CAA-B301CDFBF982%40iki.fi
2021-01-13 20:58:51 +02:00
..
brin.sql pageinspect: Add tests 2016-11-01 14:02:16 -04:00
btree.sql pageinspect: Add bt_page_items function with bytea argument 2017-04-04 23:52:55 -04:00
checksum.sql Add an explicit test to catch changes in checksumming calculations. 2020-03-08 15:09:14 -04:00
gin.sql Fix gin_leafpage_items(). 2016-11-04 12:11:54 -04:00
gist.sql Fix test failure with wal_level=minimal. 2021-01-13 20:58:51 +02:00
hash.sql pageinspect: Remove platform-dependent values from hash tests. 2017-02-03 11:06:41 -05:00
page.sql Redesign pageinspect function printing infomask bits 2019-09-19 11:01:52 +09:00