提交 864b76dd 编写于 作者: C Chen Mulong 提交者: Ashwin Agrawal

Fix pg_regress arg parsing error

Due to a option index error, exclude-tests, ignore-plans, prehook and
print-failure-diffs are not parsed from command line correctly.
上级 b99920ff
......@@ -2625,10 +2625,10 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
{"load-extension", required_argument, NULL, 22},
{"config-auth", required_argument, NULL, 24},
{"init-file", required_argument, NULL, 25},
{"exclude-tests", required_argument, NULL, 27},
{"ignore-plans", no_argument, NULL, 28},
{"prehook", required_argument, NULL, 29},
{"print-failure-diffs", no_argument, NULL, 30},
{"exclude-tests", required_argument, NULL, 26},
{"ignore-plans", no_argument, NULL, 27},
{"prehook", required_argument, NULL, 28},
{"print-failure-diffs", no_argument, NULL, 29},
{"tablespace-dir", required_argument, NULL, 80},
{NULL, 0, NULL, 0}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册