From: | Michael Hudson-Doyle <michael(dot)hudson(at)canonical(dot)com> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | pg_filedump tests fail on big endian systems |
Date: | 2020-06-09 00:04:00 |
Message-ID: | CAJ8wqteUopLaM2U9ZrAjiY4c7o-FBpAiFjiiwOw9jqoTcCc48w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hi,
Postgresql dump files are platform dependent, and the test file used by
pg_filedump's tests appears (unsurprisingly) to have been generated on a
little-endian system. The tests thus fail (with output like this:
- Block Offset: 0x00000000 Offsets: Lower 676 (0x02a4)
+ Block Offset: 0x00000000 Offsets: Lower 41986 (0xa402)
) on a big endian system. I'm not sure what should be done about this
really, maybe the tests should just be skipped on such platforms.
I discovered this running the Debian "autopkgtests" on Ubuntu s390x.
Cheers,
mwh
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2020-06-09 00:11:43 | Re: BUG #16040: PL/PGSQL RETURN QUERY statement never uses a parallel plan |
Previous Message | Tom Lane | 2020-06-08 22:27:06 | Re: BUG #16486: Prompted password is ignored when password specified in connection string |