pgsql: Make FSM test portable. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Make FSM test portable.
Date
Msg-id E1gqWER-0007WO-Q5@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/08ecdfe7e5e0a31efbe1d58fefbe085b53bc79ca

Modified Files
--------------
contrib/pageinspect/expected/page.out | 23 +++++------------------
contrib/pageinspect/sql/page.sql      |  3 ++-
2 files changed, 7 insertions(+), 19 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Avoid creation of the free space map for small heap relations,t
Next
From: Andrew Gierth
Date:
Subject: pgsql: Move port-specific parts of with_temp_install to port makefile.