Don't use Perl pack('Q') in 039_end_of_wal.pl.
authorThomas Munro <tmunro@postgresql.org>
Sat, 23 Sep 2023 02:13:06 +0000 (14:13 +1200)
committerThomas Munro <tmunro@postgresql.org>
Sat, 23 Sep 2023 02:15:37 +0000 (14:15 +1200)
commit07896f468f2343a4dacdea042000b54872971278
tree295c02a366e0ac2c8e3514ced5aedddfd01658be
parent6606c57162cb67d1012e6ee69e48f5c0816bb243
Don't use Perl pack('Q') in 039_end_of_wal.pl.

'Q' for 64 bit integers turns out not to work on 32 bit Perl, as
revealed by the build farm.  Use 'II' instead, and deal with endianness.

Back-patch to 12, like bae868ca.

Discussion: https://postgr.es/m/ZQ4r1vHcryBsSi_V%40paquier.xyz
src/test/recovery/t/039_end_of_wal.pl