forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9a3b5d3
committed
Fix build on zlib-less environments
Commit4d57e83 added support for getting I/O errors out of zlib,but it introduced a portability problem for systems without zlib.Repair by wrapping the zlib call inside #ifdef and restore the originalcode in the other branch.This serves to illustrate the inadequacy of the zlib abstraction inpg_backup_archiver: there is no way to call gzerror() in thatabstraction. This means that the several places that call GZREAD andGZWRITE are currently doing error reporting wrongly, but ENOTIME to getit fixed before next week's release set.Backpatch to 9.4, like the commit that introduced the problem.1 parent972b6ec commit9a3b5d3
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
556 | 556 |
| |
557 | 557 |
| |
558 | 558 |
| |
| 559 | + | |
559 | 560 |
| |
560 | 561 |
| |
561 | 562 |
| |
562 | 563 |
| |
563 | 564 |
| |
564 | 565 |
| |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
565 | 571 |
| |
566 | 572 |
| |
567 | 573 |
| |
|
0 commit comments
Comments
(0)