Content-Length: 259550 | pFad | http://github.com/postgrespro/postgres/commit/04c64e3fb35af090c249303b9df0a311f2a07593

75 Remove incorrect entries in pg_walsummary's getopt_long call. · postgrespro/postgres@04c64e3 · GitHub
Skip to content

Commit 04c64e3

Browse files
committed
Remove incorrect entries in pg_walsummary's getopt_long call.
For some reason this listed "-f" and "-w" as valid switches, though the code doesn't implement any such thing nor do the docs mention them. The effect of this was that if you tried to use one of these switches, you'd get an unhelpful error message. Yusuke Sugie Discussion: https://postgr.es/m/68e72a2a70f4d84c1c7847b13bcdaef8@oss.nttdata.com
1 parent 4dea33c commit 04c64e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_walsummary/pg_walsummary.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ main(int argc, char *argv[])
7171
handle_help_version_opts(argc, argv, progname, help);
7272

7373
/* process command-line options */
74-
while ((c = getopt_long(argc, argv, "f:iqw:",
74+
while ((c = getopt_long(argc, argv, "iq",
7575
long_options, &optindex)) != -1)
7676
{
7777
switch (c)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/04c64e3fb35af090c249303b9df0a311f2a07593

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy