diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-03-18 10:38:25 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-03-18 10:38:38 -0400 |
commit | 63817f86b57fc3d29b57787bca9d786218b7ee25 (patch) | |
tree | 8a8d421d830fcea78bf13a295f395707b6fcca5d | |
parent | d4f8dde3c1c2c90c723ab550e7f449fc75599316 (diff) | |
download | postgresql-63817f86b57fc3d29b57787bca9d786218b7ee25.tar.gz postgresql-63817f86b57fc3d29b57787bca9d786218b7ee25.zip |
Fix pg_dumpall option parsing: -i doesn't take an argument.
This used to work properly, but got fat-fingered in commit
3dee636e0404885d07885d41c0d70e50c784f324. Per bug #9620 from
Nicolas Payart.
-rw-r--r-- | src/bin/pg_dump/pg_dumpall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_dumpall.c b/src/bin/pg_dump/pg_dumpall.c index 8f809ceb4db..642a8f5e30b 100644 --- a/src/bin/pg_dump/pg_dumpall.c +++ b/src/bin/pg_dump/pg_dumpall.c @@ -193,7 +193,7 @@ main(int argc, char *argv[]) pgdumpopts = createPQExpBuffer(); - while ((c = getopt_long(argc, argv, "acd:f:gh:i:l:oOp:rsS:tU:vwWx", long_options, &optindex)) != -1) + while ((c = getopt_long(argc, argv, "acd:f:gh:il:oOp:rsS:tU:vwWx", long_options, &optindex)) != -1) { switch (c) { |