Allow server-side compression to be used with -Fp.
Robert Haas <rhaas@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_basebackup.sgml | modified | +5 −2 |
| src/bin/pg_basebackup/bbstreamer_file.c | modified | +0 −182 |
| src/bin/pg_basebackup/bbstreamer_gzip.c | added | +380 −0 |
| src/bin/pg_basebackup/bbstreamer.h | modified | +1 −0 |
| src/bin/pg_basebackup/Makefile | modified | +1 −0 |
| src/bin/pg_basebackup/pg_basebackup.c | modified | +15 −4 |
| src/bin/pg_verifybackup/t/009_extract.pl | added | +61 −0 |
Documentation touched
Discussion
- refactoring basebackup.c 233 messages · 2020-05-08 → 2023-04-12