postgresql/src
Michael Paquier a9e99ff6b4 Fix incorrect value for "strategy" with deflateParams() in walmethods.c
The zlib documentation mentions the values supported for the compression
strategy, but this code has been using a hardcoded value of 0 rather
than Z_DEFAULT_STRATEGY.  This commit adjusts the code to use
Z_DEFAULT_STRATEGY.

Backpatch down to where this code has been added to ease the backport of
any future patch touching this area.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/1400032.1662217889@sss.pgh.pa.us
Backpatch-through: 10
2022-09-14 14:52:36 +09:00
..
backend Further fixes for MULTIEXPR_SUBLINK fix. 2022-09-06 16:38:18 -04:00
bin Fix incorrect value for "strategy" with deflateParams() in walmethods.c 2022-09-14 14:52:36 +09:00
common Inhibit mingw CRT's auto-globbing of command line arguments 2022-04-25 15:51:58 -04:00
fe_utils Clean up assorted failures under clang's -fsanitize=undefined checks. 2022-03-03 18:13:24 -05:00
include Expand palloc/pg_malloc API for more type safety 2022-09-14 06:09:00 +02:00
interfaces Fix possible omission of variable storage markers in ECPG. 2022-09-09 15:34:04 -04:00
makefiles Select CFLAGS_SL at configure time, not in platform-specific Makefiles. 2019-10-21 12:32:36 -04:00
pl Port regress-python3-mangle.mk to Solaris "sed", redux. 2022-08-31 21:33:45 -04:00
port Stamp 10.22. 2022-08-08 16:50:46 -04:00
template On NetBSD, force dynamic symbol resolution at postmaster start. 2022-08-30 17:29:23 -04:00
test Further fixes for MULTIEXPR_SUBLINK fix. 2022-09-06 16:38:18 -04:00
timezone Update time zone data files to tzdata release 2022a. 2022-05-05 14:55:30 -04:00
tools Improve setup of environment values for commands in MSVC's vcregress.pl 2022-05-11 10:22:44 +09:00
tutorial tutorial: land height is "elevation", not "altitude" 2021-03-10 20:25:18 -05:00
.gitignore
DEVELOPERS
Makefile Build src/test/isolation during "make" and "make install". 2017-11-22 20:18:52 -08:00
Makefile.global.in Fix prove_installcheck to use correct paths when used with PGXS 2021-07-01 08:48:24 -04:00
Makefile.shlib makefile: use proper linker flags for C++ compiles 2020-03-31 22:26:11 -04:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00