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

Commitf78ba0a

Browse files
committed
Woops. Previous patch to remove -X options missed getopt_long calls().
Noted by Tom Lane.
1 parent0191e12 commitf78ba0a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ main(int argc, char **argv)
365365
}
366366
}
367367

368-
while ((c=getopt_long(argc,argv,"abcCE:f:F:h:in:N:oOp:RsS:t:T:U:vwWxX:Z:",
368+
while ((c=getopt_long(argc,argv,"abcCE:f:F:h:in:N:oOp:RsS:t:T:U:vwWxZ:",
369369
long_options,&optindex))!=-1)
370370
{
371371
switch (c)

‎src/bin/pg_dump/pg_dumpall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ main(int argc, char *argv[])
185185

186186
pgdumpopts=createPQExpBuffer();
187187

188-
while ((c=getopt_long(argc,argv,"acf:gh:il:oOp:rsS:tU:vwWxX:",long_options,&optindex))!=-1)
188+
while ((c=getopt_long(argc,argv,"acf:gh:il:oOp:rsS:tU:vwWx",long_options,&optindex))!=-1)
189189
{
190190
switch (c)
191191
{

‎src/bin/pg_dump/pg_restore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ main(int argc, char **argv)
144144
}
145145
}
146146

147-
while ((c=getopt_long(argc,argv,"acCd:ef:F:h:iI:j:lL:n:Op:P:RsS:t:T:U:vwWxX:1",
147+
while ((c=getopt_long(argc,argv,"acCd:ef:F:h:iI:j:lL:n:Op:P:RsS:t:T:U:vwWx1",
148148
cmdopts,NULL))!=-1)
149149
{
150150
switch (c)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp