Fix portability issues in new amcheck test.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 860593ec3bd15e8969effdfcb5cbd98c561dd722
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2020-10-23T18:02:00Z
Releases: 14.0
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

Files

PathChange+/−
contrib/amcheck/t/001_verify_heapam.pl modified +46 −102

Discussion