mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-15 13:00:20 +02:00
82c83b3372
In the test_slot_timelines test module, we were abusing passing NULL values which was received as zeroes in x86, but this breaks in ARM (buildfarm member hamster) by crashing instead. Fix the breakage by marking these functions as STRICT; the InvalidXid value that was previously implicit in NULL values (on x86 at least) can now be passed as 0. Failing to follow the fmgr protocol to check for NULLs beforehand was causing ARM to fail, as evidenced by segmentation faults in buildfarm member hamster. In order to use the new functionality in the test script, use COALESCE in the right spot to avoid forwarding NULL values. This was diagnosed from the hamster crash by Craig Ringer, who also proposed a different patch (checking for NULL values explicitely in the C function code, and keeping the non-strictness in the C functions). I decided to go with this approach instead. |
||
---|---|---|
.. | ||
t | ||
.gitignore | ||
Makefile | ||
README |
src/test/recovery/README Regression tests for recovery and replication ============================================= This directory contains a test suite for recovery and replication. Running the tests ================= make check NOTE: This creates a temporary installation, and some tests may create one or multiple nodes, be they master or standby(s) for the purpose of the tests. NOTE: This requires the --enable-tap-tests argument to configure.