mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Add LZ4 compression to pg_dump
Expand pg_dump's compression streaming and file APIs to support the lz4 algorithm. The newly added compress_lz4.{c,h} files cover all the functionality of the aforementioned APIs. Minor changes were necessary in various pg_backup_* files, where code for the 'lz4' file suffix has been added, as well as pg_dump's compression option parsing. Author: Georgios Kokolatos Reviewed-by: Michael Paquier, Rachel Heaton, Justin Pryzby, Shi Yu, Tomas Vondra Discussion: https://postgr.es/m/faUNEOpts9vunEaLnmxmG-DldLSg_ql137OC3JYDmgrOMHm1RvvWY2IdBkv_CRxm5spCCb_OmKNk2T03TMm0fBEWveFF9wA1WizPuAgB7Ss%3D%40protonmail.com
This commit is contained in:
@@ -152,6 +152,7 @@ do
|
||||
# as field names, which is unfortunate but we won't change it now.
|
||||
test "$f" = src/bin/pg_dump/compress_gzip.h && continue
|
||||
test "$f" = src/bin/pg_dump/compress_io.h && continue
|
||||
test "$f" = src/bin/pg_dump/compress_lz4.h && continue
|
||||
test "$f" = src/bin/pg_dump/compress_none.h && continue
|
||||
test "$f" = src/bin/pg_dump/parallel.h && continue
|
||||
test "$f" = src/bin/pg_dump/pg_backup_archiver.h && continue
|
||||
|
@@ -1387,11 +1387,13 @@ LWLock
|
||||
LWLockHandle
|
||||
LWLockMode
|
||||
LWLockPadded
|
||||
LZ4CompressorState
|
||||
LZ4F_compressionContext_t
|
||||
LZ4F_decompressOptions_t
|
||||
LZ4F_decompressionContext_t
|
||||
LZ4F_errorCode_t
|
||||
LZ4F_preferences_t
|
||||
LZ4File
|
||||
LabelProvider
|
||||
LagTracker
|
||||
LargeObjectDesc
|
||||
|
Reference in New Issue
Block a user