Fix bug with the handling of empty query.
authorToshihiro Kitagawa <kitagawa at sraoss.co.jp>
Wed, 27 Jul 2011 03:32:13 +0000 (03:32 +0000)
committerToshihiro Kitagawa <kitagawa at sraoss.co.jp>
Wed, 27 Jul 2011 03:32:13 +0000 (03:32 +0000)
commitb587544733638cbab8e983cdb892179fa9576d40
treecc5da47892e32b36c736414347796e90a314a4bb
parent930f3fad734070b1ce774aa4989a426ad20a795e
Fix bug with the handling of empty query.

JBoss sends empty queries for checking connections. We decided to replace
the empty query with dummy SELECT command not to affect load balance.
Empty query has been replaced with dummy DELETE command till now.
Note: The dummy command is not sent to backends.
See the following thread for more details:
[Pgpool-general] Confused about JDBC and load balancing
pool_process_query.c
pool_proto_modules.c
pool_proto_modules.h