Don't use Perl pack('Q') in 039_end_of_wal.pl.
authorThomas Munro <[email protected]>
Sat, 23 Sep 2023 02:13:06 +0000 (14:13 +1200)
committerThomas Munro <[email protected]>
Sat, 23 Sep 2023 02:13:35 +0000 (14:13 +1200)
commitcc58607b019ad6dd3231e54c597e6c1bc07a8132
tree82306da31e5a80a2afe5df312d695159efc3b525
parentce497f648e2dea12cd232d7bf13ad7f7a4f244aa
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