forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4b529f4
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 parentb7f37af commit4b529f4
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 |
| |
| |||
746 | 746 |
| |
747 | 747 |
| |
748 | 748 |
| |
749 |
| - | |
| 749 | + | |
| 750 | + | |
750 | 751 |
| |
751 | 752 |
| |
752 | 753 |
| |
| |||
960 | 961 |
| |
961 | 962 |
| |
962 | 963 |
| |
963 |
| - | |
| 964 | + | |
964 | 965 |
| |
965 | 966 |
| |
966 | 967 |
| |
| |||
972 | 973 |
| |
973 | 974 |
| |
974 | 975 |
| |
975 |
| - | |
| 976 | + | |
| 977 | + | |
976 | 978 |
| |
977 | 979 |
| |
978 | 980 |
| |
|
0 commit comments
Comments
(0)