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:
60fdf70
)
Exit if configuration errors found in pgxc_ctl.conf
author
Pavan Deolasee
<
[email protected]
>
Mon, 14 Sep 2015 07:13:40 +0000
(12:43 +0530)
committer
Pavan Deolasee
<
[email protected]
>
Tue, 15 Sep 2015 09:45:40 +0000
(15:15 +0530)
This is with respect to issue #84 as fixed in X2. While we couldn't reproduce
the reported bug, it seems like quite trivial fix. Hence cherry-picked to XL
contrib/pgxc_ctl/config.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pgxc_ctl/config.c
b/contrib/pgxc_ctl/config.c
index 81edb6bdcc1163f5132731e31f4af68140dc431e..694548ddbc9bd4c4441cb23ae5609547bf22f554 100644
(file)
--- a/
contrib/pgxc_ctl/config.c
+++ b/
contrib/pgxc_ctl/config.c
@@
-892,7
+892,10
@@
static void verifyResource(void)
checkConfiguredAndSize(datanodeSlaveVars, "datanode slave");
}
if (anyConfigErrors)
+ {
elog(ERROR, "ERROR: Found fundamental configuration error.\n");
+ exit(1);
+ }
/*
* --------------- Resource Conflict Check ---------------------
*/