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:13:06 +0000 (14:13 +1200)
commit91b0e85aa0ade896129fab540c3e02f62d7fe6fb
tree05bb8f60afac7f7c947f44db597b3288b345b46b
parentbae868caf222ca01c569b61146fc2e398427127a
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