aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/array_userfuncs.c
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
commit0e7e355f27302b62af3e1add93853ccd45678443 (patch)
tree45f33b89b361b29d0a38701b64811d48a2ed7644 /src/backend/utils/adt/array_userfuncs.c
parentabe45a9b315d7b3739f442597f570f9454bd466d (diff)
downloadpostgresql-0e7e355f27302b62af3e1add93853ccd45678443.tar.gz
postgresql-0e7e355f27302b62af3e1add93853ccd45678443.zip
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/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions