Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6596a8c

Browse files
committed
Remove incorrect entries in pg_walsummary's getopt_long call.
For some reason this listed "-f" and "-w" as valid switches, thoughthe code doesn't implement any such thing nor do the docs mentionthem. The effect of this was that if you tried to use one of theseswitches, you'd get an unhelpful error message.Yusuke SugieDiscussion:https://postgr.es/m/68e72a2a70f4d84c1c7847b13bcdaef8@oss.nttdata.com
1 parent77f1546 commit6596a8c

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)

[8]ページ先頭

©2009-2025 Movatter.jp