pgpool2.git / summary / log / commit / refs
commit 4964184e4e8cc68c08d04ee49287d4b3e4531ab4
Author: Toshihiro Kitagawa <kitagawa at sraoss.co.jp>
Date: Fri Mar 19 11:53:00 2010 +0000
parallel_mode requires replication_mode turned on.
See [pgpool-general-jp: 719] for more details.
pool_config.l | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/pool_config.l b/pool_config.l
index 1104ddc0c..a66d1116b 100644
--- a/pool_config.l
+++ b/pool_config.l
@@ -1413,6 +1413,11 @@ int pool_get_config(char *confpath, POOL_CONFIG_CONTEXT context)
pool_error("failed to get systemdb info");
return(-1);
}
+ if (!pool_config->replication_enabled)
+ {
+ pool_error("pool_config: parallel_mode requires replication_mode turned on");
+ return(-1);
+ }
}
if (pool_config->enable_query_cache)
{
[parent: cf4fb96434af]