diff options
author | Tomas Vondra <tomas.vondra@postgresql.org> | 2023-02-23 15:38:14 +0100 |
---|---|---|
committer | Tomas Vondra <tomas.vondra@postgresql.org> | 2023-02-23 15:38:40 +0100 |
commit | 03d02f54a64089284582cc60d94a8af09ff4e081 (patch) | |
tree | 8914261eea8945507d73b4bcdfb0bfb4c7498c38 /src/backend/utils/adt/varchar.c | |
parent | 009eeee746825090ec7194321a3db4b298d6571e (diff) | |
download | postgresql-03d02f54a64089284582cc60d94a8af09ff4e081.tar.gz postgresql-03d02f54a64089284582cc60d94a8af09ff4e081.zip |
Prepare pg_dump internals for additional compression methods
Commit bf9aa490db introduced a compression API in compress_io.{c,h} to
make reuse easier, and allow adding more compression algorithms.
However, pg_backup_archiver.c was not switched to this API and continued
to call the compression directly.
This commit teaches pg_backup_archiver.c about the compression API, so
that it can benefit from bf9aa490db (simpler code, easier addition of
new compression methods).
Author: Georgios Kokolatos
Reviewed-by: Michael Paquier, Rachel Heaton, Justin Pryzby, Tomas Vondra
Discussion: https://postgr.es/m/faUNEOpts9vunEaLnmxmG-DldLSg_ql137OC3JYDmgrOMHm1RvvWY2IdBkv_CRxm5spCCb_OmKNk2T03TMm0fBEWveFF9wA1WizPuAgB7Ss%3D%40protonmail.com
Diffstat (limited to 'src/backend/utils/adt/varchar.c')
0 files changed, 0 insertions, 0 deletions