aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-04-18 10:18:34 +0900
committerMichael Paquier <michael@paquier.xyz>2022-04-18 10:18:34 +0900
commit42e44f3b3830cbc051a5d83956546e2ef553b047 (patch)
tree4c646b477c0f3ac5313b5a1ec3df4d49af5c82d0 /src/backend/parser/parse_utilcmd.c
parent42dbbca58e8e87e461bb0a4fe48a450e90e1e932 (diff)
downloadpostgresql-42e44f3b3830cbc051a5d83956546e2ef553b047.tar.gz
postgresql-42e44f3b3830cbc051a5d83956546e2ef553b047.zip
Handle compression level in pg_receivewal for LZ4
The new option set of pg_receivewal introduced in 042a923 to control the compression method makes it now easy to pass down various options, including the compression level. The change to be able to do is simple, and requires one LZ4F_preferences_t fed to LZ4F_compressBegin(). Note that LZ4F_INIT_PREFERENCES could be used to initialize the contents of LZ4F_preferences_t as required by LZ4, but this is only available since v1.8.3. memset()'ing its structure to 0 is enough. Discussion: https://postgr.es/m/YlPQGNAAa04raObK@paquier.xyz
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions