pgsql-gzip icon indicating copy to clipboard operation
pgsql-gzip copied to clipboard

Raw deflate/inflate functions (minimal size of compressed data)

Open vicreal opened this issue 5 years ago • 0 comments

It would be useful to add the ability to compress and decompress data in raw deflate-mode (without headers and wrapper) like the gzdeflate($string, $level, ZLIB_ENCODING_RAW) function in PHP:

$compressed = gzdeflate($str, $level, ZLIB_ENCODING_RAW);
$original = gzinflate($compressed);

Raw-mode (without headers and wrapper) provides the minimal compressed data size...

vicreal avatar Oct 11 '20 15:10 vicreal