projects
/
pgpool1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cff03ee
)
Add replicate_select value to the result of "SHOW pool_status" command.
author
Yoshiyuki Asaba
<y-asaba at pgfoundry.org>
Thu, 26 Jul 2007 06:05:05 +0000
(06:05 +0000)
committer
Yoshiyuki Asaba
<y-asaba at pgfoundry.org>
Thu, 26 Jul 2007 06:05:05 +0000
(06:05 +0000)
pool_process_query.c
patch
|
blob
|
blame
|
history
diff --git
a/pool_process_query.c
b/pool_process_query.c
index 428817ad7bf4ecb81fcd442259da8da60a0e94a3..a95117334127795f6fd4329937dfa4104aa1ad34 100644
(file)
--- a/
pool_process_query.c
+++ b/
pool_process_query.c
@@
-2234,6
+2234,11
@@
static void process_reporting(POOL_CONNECTION *frontend, POOL_CONNECTION_POOL *b
status[i].desc = "stop replication mode on fatal error";
i++;
+ status[i].name = "replicate_select";
+ snprintf(status[i].value, MAXVALLEN, "%d", pool_config.replicate_select);
+ status[i].desc = "non 0 if SELECT statement is replicated";
+ i++;
+
status[i].name = "reset_query_list";
*(status[i].value) = '\0';
for (j=0;j<pool_config.num_reset_queries;j++)