pgsql: Make FSM test portable.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make FSM test portable.
Date: 2019-02-04 04:51:43
Message-ID: E1gqWER-0007WO-Q5@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Gierth 2019-02-04 19:30:27 pgsql: Move port-specific parts of with_temp_install to port makefile.
Previous Message Amit Kapila 2019-02-04 02:22:49 pgsql: Avoid creation of the free space map for small heap relations, t