aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-07-15 21:25:03 +0900
committerMichael Paquier <michael@paquier.xyz>2021-07-15 21:25:03 +0900
commit0da3c1bc3f7261d5157f5b86ade88e8b379f8686 (patch)
tree3160a1039c9ace80078cbb57794953f3f1b87b3f /src/backend/access/transam/xlog.c
parent768ea9bcf98120eef01a6deea9c5c6997b153ab1 (diff)
downloadpostgresql-0da3c1bc3f7261d5157f5b86ade88e8b379f8686.tar.gz
postgresql-0da3c1bc3f7261d5157f5b86ade88e8b379f8686.zip
Fix portability issue with gzip in TAP test of pg_receivewal
The OpenBSD implementation of gzip considers only files suffixed by "Z", "gz", "z", "tgz" or "taz" as valid targets, discarding anything else and making a command using --test exit with an error code of 512 if anything invalid is found. The test introduced in ffc9dda tested a WAL segment suffixed as .gz.partial, enough to make the test fail. Testing only a full segment is fine enough in terms of coverage, so simplify the code by discarding the .gz.partial segment in this check. This should be enough to make the test pass with OpenBSD environments. Per report from curculio. Discussion: https://postgr.es/m/YPAdf9r5aJbDoHoq@paquier.xyz
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions