pgsql: Fix portability issues in new amcheck test.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix portability issues in new amcheck test.
Date: 2020-10-23 18:02:06
Message-ID: E1kW1OA-0002p3-Ea@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix portability issues in new amcheck test.

The tests added by commit 866e24d47 failed on big-endian machines
due to lack of attention to endianness considerations. Fix that.

While here, improve a few small cosmetic things, such as running
it through perltidy.

Mark Dilger

Discussion: https://postgr.es/m/30B8E99A-2D9C-48D4-A55C-741C9D5F1563@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/860593ec3bd15e8969effdfcb5cbd98c561dd722

Modified Files
--------------
contrib/amcheck/t/001_verify_heapam.pl | 148 ++++++++++-----------------------
1 file changed, 46 insertions(+), 102 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-10-23 21:07:23 pgsql: Allow psql to re-use connection parameters after a connection lo
Previous Message Tom Lane 2020-10-23 15:32:57 pgsql: Fix broken XML formatting in EXPLAIN output for incremental sort