Make FSM test portable.

Amit Kapila <akapila@postgresql.org>

Commit: 08ecdfe7e5e0a31efbe1d58fefbe085b53bc79ca
Author: Amit Kapila <akapila@postgresql.org>
Date: 2019-02-04T04:38:29Z
Releases: 12.0
Make FSM test portable.

In b0eaa4c51b, we allow FSM to be created only after 4 pages.  One of the
tests check the FSM contents and to do that it populates many tuples in
the relation.  The FSM contents depend on the availability of freespace in
the page and it could vary because of the alignment of tuples.

This commit removes the dependency on FSM contents.

Author: Amit Kapila
Discussion: https://postgr.es/m/CAA4eK1KADF6K1bagr0--mGv3dMcZ%3DH_Z-Qtvdfbp5PjaC6PJJA%40mail.gmail.com

Files

PathChange+/−
contrib/pageinspect/expected/page.out modified +5 −18
contrib/pageinspect/sql/page.sql modified +2 −1

Discussion