[pgpool-committers: 28] pgpool: Refactor pool_process_query(). Extract lengthy code in for loop
Tatsuo Ishii
ishii at postgresql.org
Sun Dec 18 15:37:40 JST 2011
Refactor pool_process_query(). Extract lengthy code in for loop and
put into new function read_packets_and_process(). Also move
pool_is_query_in_progress() to othe place to make cleaner and simpler
if/else condition.
Deal with the case when: 1) query not in progress and 2) other than
master node has pending data. It is reported that pgpool goes into
infinite loop in this case.
http://www.pgpool.net/pipermail/pgpool-general/2011-December/000042.html
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=25ea2bcc74fc108dda5f97b477b8eda23064bb17
Modified Files
--------------
pool_process_query.c | 480 +++++++++++++++++++++++++++++++-------------------
1 files changed, 296 insertions(+), 184 deletions(-)
More information about the pgpool-committers
mailing list