- Notifications
You must be signed in to change notification settings - Fork5k
Commitb3c630c
committed
Fix incorrect value for "strategy" with deflateParams() in walmethods.c
The zlib documentation mentions the values supported for the compressionstrategy, but this code has been using a hardcoded value of 0 ratherthan Z_DEFAULT_STRATEGY. This commit adjusts the code to useZ_DEFAULT_STRATEGY.Backpatch down to where this code has been added to ease the backport ofany future patch touching this area.Reported-by: Tom LaneDiscussion:https://postgr.es/m/1400032.1662217889@sss.pgh.pa.usBackpatch-through: 101 parent7fe55d5 commitb3c630c
1 file changed
+6
-4
lines changedLines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
905 | 905 |
| |
906 | 906 |
| |
907 | 907 |
| |
908 |
| - | |
| 908 | + | |
909 | 909 |
| |
910 | 910 |
| |
911 | 911 |
| |
| |||
945 | 945 |
| |
946 | 946 |
| |
947 | 947 |
| |
948 |
| - | |
| 948 | + | |
| 949 | + | |
949 | 950 |
| |
950 | 951 |
| |
951 | 952 |
| |
| |||
1164 | 1165 |
| |
1165 | 1166 |
| |
1166 | 1167 |
| |
1167 |
| - | |
| 1168 | + | |
1168 | 1169 |
| |
1169 | 1170 |
| |
1170 | 1171 |
| |
| |||
1176 | 1177 |
| |
1177 | 1178 |
| |
1178 | 1179 |
| |
1179 |
| - | |
| 1180 | + | |
| 1181 | + | |
1180 | 1182 |
| |
1181 | 1183 |
| |
1182 | 1184 |
| |
|
0 commit comments
Comments
(0)