forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb447d60
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 parentd583036 commitb447d60
1 file changed
+6
-4
lines changedLines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
904 | 904 |
| |
905 | 905 |
| |
906 | 906 |
| |
907 |
| - | |
| 907 | + | |
908 | 908 |
| |
909 | 909 |
| |
910 | 910 |
| |
| |||
944 | 944 |
| |
945 | 945 |
| |
946 | 946 |
| |
947 |
| - | |
| 947 | + | |
| 948 | + | |
948 | 949 |
| |
949 | 950 |
| |
950 | 951 |
| |
| |||
1162 | 1163 |
| |
1163 | 1164 |
| |
1164 | 1165 |
| |
1165 |
| - | |
| 1166 | + | |
1166 | 1167 |
| |
1167 | 1168 |
| |
1168 | 1169 |
| |
| |||
1174 | 1175 |
| |
1175 | 1176 |
| |
1176 | 1177 |
| |
1177 |
| - | |
| 1178 | + | |
| 1179 | + | |
1178 | 1180 |
| |
1179 | 1181 |
| |
1180 | 1182 |
| |
|
0 commit comments
Comments
(0)