aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-06-15 13:15:05 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-06-15 13:15:05 -0400
commit31156ce8b95c5e9fa8cb01f08de008c3289c1086 (patch)
tree328f1f8b488ab781983aee569573f0eec4b697b7 /src/backend/parser/parse_utilcmd.c
parent264a6b127a918800d9f8bac80b5f4a8a8799d0f1 (diff)
downloadpostgresql-31156ce8b95c5e9fa8cb01f08de008c3289c1086.tar.gz
postgresql-31156ce8b95c5e9fa8cb01f08de008c3289c1086.zip
Fix oversights in pg_basebackup's -z (compression) option.
The short-form -z switch didn't work, for lack of telling getopt_long about it; and even if specified long-form, it failed to do anything, because the various tests elsewhere in the file would take Z_DEFAULT_COMPRESSION (which is -1) as meaning "don't compress". Per bug #6060 from Shigehiro Honda, though I editorialized on his patch a bit.
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions