Support long distance matching for zstd compression

Tomas Vondra <tomas.vondra@postgresql.org>

Commit: 2820adf7755d2a377546d5b55f5b1a4a39889336
Author: Tomas Vondra <tomas.vondra@postgresql.org>
Date: 2023-04-06T15:18:42Z
Releases: 16.0
Support long distance matching for zstd compression

zstd compression supports a special mode for finding matched in distant
past, which may result in better compression ratio, at the expense of
using more memory (the window size is 128MB).

To enable this optional mode, use the "long" keyword when specifying the
compression method (--compress=zstd:long).

Author: Justin Pryzby
Reviewed-by: Tomas Vondra, Jacob Champion
Discussion: https://postgr.es/m/20230224191840.GD1653@telsasoft.com
Discussion: https://postgr.es/m/20220327205020.GM28503@telsasoft.com

Files

Documentation touched

Discussion