Add TAP test in pg_dump with --format=tar and --compress
authorMichael Paquier <michael@paquier.xyz>
Wed, 30 Mar 2022 04:34:01 +0000 (13:34 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 30 Mar 2022 04:34:01 +0000 (13:34 +0900)
commitedcedcc2c7bb8390858bbccda9637318598f2473
tree92a4f55cb2119519ff01c7f62905cd3883159849
parentd5a9d86d8ffcadc52ff3729cd00fbd83bc38643c
Add TAP test in pg_dump with --format=tar and --compress

This combination of options has never been supported, and it has never
been checked in the regression tests.  When building the code without
zlib support, pg_dump is allowed to run and it generates a warning to
inform that any contents are dumped as uncompressed.  The tests added by
this commit check both behaviors.

Author: Georgios Kokolatos, Rachel Heaton
Discussion: https://postgr.es/m/faUNEOpts9vunEaLnmxmG-DldLSg_ql137OC3JYDmgrOMHm1RvvWY2IdBkv_CRxm5spCCb_OmKNk2T03TMm0fBEWveFF9wA1WizPuAgB7Ss=@protonmail.com
src/bin/pg_dump/t/001_basic.pl