]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix test failure with wal_level=minimal.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 13 Jan 2021 18:57:21 +0000 (20:57 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 13 Jan 2021 18:58:51 +0000 (20:58 +0200)
commit5abca4b1cd7193d6a5c8235c97eb240312190bcb
treeb393aca2e391c4cb32c06920a9eed663c9b54994
parent06ed235adeb621a73cafd6ab35fa2405b3177329
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
contrib/pageinspect/expected/gist.out
contrib/pageinspect/sql/gist.sql