summaryrefslogtreecommitdiff
path: root/src/backend/commands
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-02-18 11:43:00 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-02-18 11:43:00 -0500
commita75dfb73e19e2da5ac0bd9a0c616c42a2a2b5ad1 (patch)
tree15f5bf1f57414e19bc1cdeb3ed5d48faa5a2c364 /src/backend/commands
parenta271c9260fa4a12007083a4343cf27ac1309ef0d (diff)
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
Diffstat (limited to 'src/backend/commands')
0 files changed, 0 insertions, 0 deletions