Fix asynchronous query handling.
authorYoshiyuki Asaba <y-asaba at pgfoundry.org>
Tue, 26 Feb 2008 03:59:02 +0000 (03:59 +0000)
committerYoshiyuki Asaba <y-asaba at pgfoundry.org>
Tue, 26 Feb 2008 03:59:02 +0000 (03:59 +0000)
commit73fea0752a67158bb6f4a721d91fe37c0f9e870e
tree1f72dcba349c6b72388bb250c4eaac57d2405cc6
parent80f229a981a19980349217c0d2fb26105a8ded8b
Fix asynchronous query handling.

When ReadyForQuery message was received, pgpool set off loadbalancing
flag, internal transaction flag and so on. If client sended a Query
message before receiving the ReadyForQuery message, pgpool reported
error message.

So, we block the Query message while backend nodes process a query.
pool_process_query.c