projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e726e59
)
Fix pg_dumpall option parsing: -i doesn't take an argument.
author
Tom Lane
Tue, 18 Mar 2014 14:38:25 +0000
(10:38 -0400)
committer
Tom Lane
Tue, 18 Mar 2014 14:38:25 +0000
(10:38 -0400)
This used to work properly, but got fat-fingered in commit
3dee636e0404885d07885d41c0d70e50c784f324
. Per bug #9620 from
Nicolas Payart.
src/bin/pg_dump/pg_dumpall.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/pg_dumpall.c
b/src/bin/pg_dump/pg_dumpall.c
index f7c610deeb7001cf9c97595e9e2401cafaa7a645..47fe6ccc07f357c36c40a162c9eb1fc83568fd6e 100644
(file)
--- a/
src/bin/pg_dump/pg_dumpall.c
+++ b/
src/bin/pg_dump/pg_dumpall.c
@@
-195,7
+195,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)
{