forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite996073
committed
Introduce a generic pg_dump compression API
Switch pg_dump to use the Compression API, implemented bybf9aa49.The CompressFileHandle replaces the cfp* family of functions with astruct of callbacks for accessing (compressed) files. This allows addingnew compression methods simply by introducing a new struct instance withappropriate implementation of the callbacks.Archives compressed using custom compression methods store an identifierof the compression algorithm in their header instead of the compressionlevel. The header version is bumped.Author: Georgios KokolatosReviewed-by: Michael Paquier, Rachel Heaton, Justin Pryzby, Tomas VondraDiscussion:https://postgr.es/m/faUNEOpts9vunEaLnmxmG-DldLSg_ql137OC3JYDmgrOMHm1RvvWY2IdBkv_CRxm5spCCb_OmKNk2T03TMm0fBEWveFF9wA1WizPuAgB7Ss%3D%40protonmail.com1 parent739f1d6 commite996073
File tree
16 files changed
+1050
-751
lines changed- src
- bin/pg_dump
- t
- include/common
- tools
- pginclude
- pgindent
16 files changed
+1050
-751
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
27 | 28 |
| |
| 29 | + | |
28 | 30 |
| |
29 | 31 |
| |
30 | 32 |
| |
|
0 commit comments
Comments
(0)