[COMMITTERS] pgsql: Fix build on zlib-less environments

2017-08-03 Thread Alvaro Herrera
Fix build on zlib-less environments Commit 4d57e8381677 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 original code in the other branch. This serves to illustrate t

[COMMITTERS] pgsql: Fix build on zlib-less environments

2017-08-03 Thread Alvaro Herrera
Fix build on zlib-less environments Commit 4d57e8381677 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 original code in the other branch. This serves to illustrate t

[COMMITTERS] pgsql: Fix build on zlib-less environments

2017-08-03 Thread Alvaro Herrera
Fix build on zlib-less environments Commit 4d57e8381677 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 original code in the other branch. This serves to illustrate t

[COMMITTERS] pgsql: Fix build on zlib-less environments

2017-08-03 Thread Alvaro Herrera
Fix build on zlib-less environments Commit 4d57e8381677 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 original code in the other branch. This serves to illustrate t