- Notifications
You must be signed in to change notification settings - Fork4.9k
Commita9e99ff
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 parent2864f77 commita9e99ff
1 file changed
+6
-4
lines changedLines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
701 | 701 |
| |
702 | 702 |
| |
703 | 703 |
| |
704 |
| - | |
| 704 | + | |
705 | 705 |
| |
706 | 706 |
| |
707 | 707 |
| |
| |||
739 | 739 |
| |
740 | 740 |
| |
741 | 741 |
| |
742 |
| - | |
| 742 | + | |
| 743 | + | |
743 | 744 |
| |
744 | 745 |
| |
745 | 746 |
| |
| |||
953 | 954 |
| |
954 | 955 |
| |
955 | 956 |
| |
956 |
| - | |
| 957 | + | |
957 | 958 |
| |
958 | 959 |
| |
959 | 960 |
| |
| |||
964 | 965 |
| |
965 | 966 |
| |
966 | 967 |
| |
967 |
| - | |
| 968 | + | |
| 969 | + | |
968 | 970 |
| |
969 | 971 |
| |
970 | 972 |
| |
|
0 commit comments
Comments
(0)