projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
434a89b
)
Accept -m option to pgxc_ctl, but let "stop" command handle the rest
author
Pavan Deolasee
<pavan.deolasee@gmail.com>
Fri, 1 Apr 2016 06:24:59 +0000
(11:54 +0530)
committer
Pavan Deolasee
<pavan.deolasee@gmail.com>
Fri, 1 Apr 2016 06:24:59 +0000
(11:54 +0530)
contrib/pgxc_ctl/pgxc_ctl.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pgxc_ctl/pgxc_ctl.c
b/contrib/pgxc_ctl/pgxc_ctl.c
index cb59eed1add1557cf8f888ab7725dd967ba44495..ff8848717ef19e8041ff59fb460156601f7ba51e 100644
(file)
--- a/
contrib/pgxc_ctl/pgxc_ctl.c
+++ b/
contrib/pgxc_ctl/pgxc_ctl.c
@@
-464,7
+464,7
@@
int main(int argc, char *argv[])
while(1) {
int option_index = 0;
- c = getopt_long(argc, argv, "i:o:c:vVl:L:h", long_options, &option_index);
+ c = getopt_long(argc, argv, "
m:
i:o:c:vVl:L:h", long_options, &option_index);
if (c == -1)
break;
@@
-512,6
+512,8
@@
int main(int argc, char *argv[])
case 'h':
help_opt = 1;
break;
+ case 'm':
+ break;
default:
fprintf(stderr, "Invalid optin value, received code 0%o\n", c);
exit(1);