In pg_amcheck tests, don't depend on perl's Q/q pack code.
authorRobert Haas <rhaas@postgresql.org>
Sat, 13 Mar 2021 15:55:33 +0000 (10:55 -0500)
committerRobert Haas <rhaas@postgresql.org>
Sat, 13 Mar 2021 15:57:01 +0000 (10:57 -0500)
commit945d2cb7d0255e296a55f3e9febb5dce6eaccc3e
tree64b21a9d6827fc3566d62cd12ba8cc2a8d14bfbe
parent9e294d0f34d6e3e4fecf6f190b48862988934cde
In pg_amcheck tests, don't depend on perl's Q/q pack code.

It does not work on all versions of perl across all platforms.

To avoid endian-ness issues, pick a new value for column a
that has the same upper 4 bytes as lower 4 bytes. Try to
make it something that isn't likely to occur anywhere nearby
in the page.

Discussion: http://postgr.es/m/29DA079B-0658-4E66-BDAA-0EFD7B64D9C6@enterprisedb.com
src/bin/pg_amcheck/t/004_verify_heapam.pl