Обсуждение: pgsql: Don't use Perl pack('Q') in 039_end_of_wal.pl.

Поиск
Список
Период
Сортировка

pgsql: Don't use Perl pack('Q') in 039_end_of_wal.pl.

От
Thomas Munro
Дата:
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

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/cc58607b019ad6dd3231e54c597e6c1bc07a8132

Modified Files
--------------
src/test/recovery/t/039_end_of_wal.pl | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)