postgresql/src/bin
Tom Lane a75dfb73e1 Fix failure to honor -Z compression level option in pg_dump -Fd.
cfopen() and cfopen_write() failed to pass the compression level through
to zlib, so that you always got the default compression level if you got
any at all.

In passing, also fix these and related functions so that the correct errno
is reliably returned on failure; the original coding supposes that free()
cannot change errno, which is untrue on at least some platforms.

Per bug #12779 from Christoph Berg.  Back-patch to 9.1 where the faulty
code was introduced.

Michael Paquier
2015-02-18 11:43:00 -05:00
..
initdb Translation updates 2015-02-01 23:18:42 -05:00
pg_basebackup Translation updates 2015-02-01 23:18:42 -05:00
pg_config Translation updates 2015-02-01 23:18:42 -05:00
pg_controldata Translation updates 2015-02-01 23:18:42 -05:00
pg_ctl Fix previous commit for TAP test suites in VPATH builds. 2014-12-18 01:25:13 -05:00
pg_dump Fix failure to honor -Z compression level option in pg_dump -Fd. 2015-02-18 11:43:00 -05:00
pg_resetxlog Translation updates 2015-02-01 23:18:42 -05:00
pgevent Remove inappropriate EXPORTS line. 2014-02-19 21:08:50 -05:00
psql Translation updates 2015-02-01 23:18:42 -05:00
scripts Translation updates 2015-02-01 23:18:42 -05:00
Makefile Update copyright for 2014 2014-01-07 16:05:30 -05:00