From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Allow server-side compression to be used with -Fp. |
Date: | 2022-01-28 13:41:39 |
Message-ID: | E1nDRVT-00024b-V2@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Allow server-side compression to be used with -Fp.
If you have a low-bandwidth connection between the client and the
server, it's reasonable to want to compress on the server side but
then decompress and extract the backup on the client side. This
commit allows you do to do just that.
Dipesh Pandit, with minor and mostly cosmetic changes by me.
Discussion: http://postgr.es/m/CAN1g5_HiSh8ajUMd4ePtGyCXo89iKZTzaNyzP_qv1eJbi4YHXA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d45099425eb19e420433c9d81d354fe585f4dbd6
Modified Files
--------------
doc/src/sgml/ref/pg_basebackup.sgml | 7 +-
src/bin/pg_basebackup/Makefile | 1 +
src/bin/pg_basebackup/bbstreamer.h | 1 +
src/bin/pg_basebackup/bbstreamer_file.c | 182 ---------------
src/bin/pg_basebackup/bbstreamer_gzip.c | 380 +++++++++++++++++++++++++++++++
src/bin/pg_basebackup/pg_basebackup.c | 19 +-
src/bin/pg_verifybackup/t/009_extract.pl | 61 +++++
7 files changed, 463 insertions(+), 188 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2022-01-28 14:04:03 | pgsql: Fix mistakes in commit d45099425eb19e420433c9d81d354fe585f4dbd6. |
Previous Message | Peter Eisentraut | 2022-01-28 08:49:55 | pgsql: Add HEADER support to COPY text format |