pgsql: Add TAP test in pg_dump with --format=tar and --compress

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add TAP test in pg_dump with --format=tar and --compress
Date: 2022-03-30 04:34:30
Message-ID: E1nZQ2P-00207B-JF@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/edcedcc2c7bb8390858bbccda9637318598f2473

Modified Files
--------------
src/bin/pg_dump/t/001_basic.pl | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-03-30 07:10:07 pgsql: Add header matching mode to COPY FROM
Previous Message Amit Kapila 2022-03-30 02:22:54 pgsql: Skip empty transactions for logical replication.