The symptom being exhibited by Michael's new BF animal tanager
is perfectly reproducible elsewhere.
$ cat /home/postgres/tmp/temp_config
#default_toast_compression = lz4
wal_compression = lz4
$ export TEMP_CONFIG=/home/postgres/tmp/temp_config
$ cd ~/pgsql/src/test/recovery
$ make check PROVE_TESTS=t/011_crash_recovery.pl
...
+++ tap check in src/test/recovery +++
t/011_crash_recovery.pl .. 1/?
# Failed test 'new xid after restart is greater'
# at t/011_crash_recovery.pl line 53.
# '729'
# >
# '729'
# Failed test 'xid is aborted after crash'
# at t/011_crash_recovery.pl line 57.
# got: 'committed'
# expected: 'aborted'
# Looks like you failed 2 tests of 3.
Maybe this is somehow the test script's fault, but I don't see how.
It fails the same way with 'wal_compression = pglz', so I think it's
generic to that whole feature rather than specific to LZ4.
regards, tom lane