1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/libc
David Steele 3f77a83e73 Remove raw option for gz compression.
This was a minor optimization used in protocol layer compression.  Even though it was slightly faster, it omitted the crc-32 that is generated during normal compression which could lead to corrupt data after a bad network transmission.  This would be caught on restore by our checksum but it seems better to catch an issue like this early.

The raw option also made the function signature different than future compression formats which may not support raw, or require different code to support raw.

In general, it doesn't seem worth the extra testing to support a format that has minimal benefit and is seldom used, since protocol compression is only enabled when the transmitted data is uncompressed.
2020-02-27 12:19:40 -05:00
..
build/lib/pgBackRestLibC Remove unused LibC code. 2019-12-28 18:30:32 -07:00
xs Remove raw option for gz compression. 2020-02-27 12:19:40 -05:00
LibC.h Improve performance of MEM_CONTEXT*() macros. 2020-02-26 21:15:39 -05:00
LibC.xs Remove unused LibC code. 2019-12-28 18:30:32 -07:00
Makefile.PL Rename "gzip" to "gz". 2020-02-27 12:09:05 -05:00
typemap Add Perl interface to C PgQuery object. 2019-07-25 17:05:39 -04:00