forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitadb371c
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 parent7dd9b46 commitadb371c
1 file changed
+6
-4
lines changedLines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
706 | 706 |
| |
707 | 707 |
| |
708 | 708 |
| |
709 |
| - | |
| 709 | + | |
710 | 710 |
| |
711 | 711 |
| |
712 | 712 |
| |
| |||
744 | 744 |
| |
745 | 745 |
| |
746 | 746 |
| |
747 |
| - | |
| 747 | + | |
| 748 | + | |
748 | 749 |
| |
749 | 750 |
| |
750 | 751 |
| |
| |||
958 | 959 |
| |
959 | 960 |
| |
960 | 961 |
| |
961 |
| - | |
| 962 | + | |
962 | 963 |
| |
963 | 964 |
| |
964 | 965 |
| |
| |||
969 | 970 |
| |
970 | 971 |
| |
971 | 972 |
| |
972 |
| - | |
| 973 | + | |
| 974 | + | |
973 | 975 |
| |
974 | 976 |
| |
975 | 977 |
| |
|
0 commit comments
Comments
(0)