]> granicus.if.org Git - postgresql/commitdiff
Fix pg_dumpall option parsing: -i doesn't take an argument.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 18 Mar 2014 14:38:25 +0000 (10:38 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 18 Mar 2014 14:38:38 +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

index 8f809ceb4dbe1cbd10be1fd93561deb691cc302c..642a8f5e30b2023e9973046f72a1ba92b9d995f3 100644 (file)
@@ -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)
                {