I'm going to make the changes to pgpool (comment out the
pool_where_to_send in Bind and Execute) and see if that fixes things --
I'll send another email with those results (sorry for the spam).

SUCCESS!

I've attached a diff against the current cvs HEAD.

So far, my application (and test case) have been performing as expected with load-balanced queries. I will continue to test this over the coming weeks.

If there is anything else I can do to assist this change going into the source tree, please let me know.

Regards,
-Bryan Varner
Index: pool_proto_modules.c
===================================================================
RCS file: /cvsroot/pgpool/pgpool-II/pool_proto_modules.c,v
retrieving revision 1.111
diff -r1.111 pool_proto_modules.c
621c621
< 	pool_where_to_send(query_context, query, node);
---
> 	//pool_where_to_send(query_context, query, node);
1044,1045c1044,1045
< 	pool_where_to_send(query_context, query_context->original_query,
< 					   query_context->parse_tree);
---
> 	//pool_where_to_send(query_context, query_context->original_query,
> 	//				   query_context->parse_tree);
1123,1124c1123,1124
< 	pool_where_to_send(query_context, query_context->original_query,
< 					   query_context->parse_tree);
---
> 	//pool_where_to_send(query_context, query_context->original_query,
> 	//				   query_context->parse_tree);
Index: pool_query_context.h
===================================================================
RCS file: /cvsroot/pgpool/pgpool-II/pool_query_context.h,v
retrieving revision 1.13
diff -r1.13 pool_query_context.h
68,69d67
< extern void pool_set_node_to_be_sent(POOL_QUERY_CONTEXT *query_context, int node_id);
< extern void pool_unset_node_to_be_sent(POOL_QUERY_CONTEXT *query_context, int node_id);
_______________________________________________
Pgpool-general mailing list
Pgpool-general@pgfoundry.org
http://pgfoundry.org/mailman/listinfo/pgpool-general

Reply via email to