[pgpool-committers: 1550] pgpool: Fix target node selection logic when "DEALLOCATE portal|stateme

Tatsuo Ishii ishii at postgresql.org
Tue Dec 10 21:45:55 JST 2013


Fix target node selection logic when "DEALLOCATE portal|statement".

When "DEALLOCATE portal|statement" is used and last prepared statement
or portal was not found, target node selection map is not
set. Probably this is not actually harmful because prepared statement
or portal was not found is an error case. The bug was there since day
0.

Per Coverity report "1111491 Structurally dead code".

Branches
--------
EXCEPTION_MGR
master

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=4366e0093470f9f8f14c43f9fa489d5c37c90e30

Modified Files
--------------
src/context/pool_query_context.c |    9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)



More information about the pgpool-committers mailing list