[pgpool-committers: 1014] pgpool: Fix bug with do_query which causes hung in extended protocol.
Tatsuo Ishii
ishii at postgresql.org
Thu May 30 14:55:45 JST 2013
Fix bug with do_query which causes hung in extended protocol.
When insert lock is enabled and pgpool_catalog.insert_lock exists,
pgpool-II looks for the row which matches the oid of the target
table. If non, pgpool-II will insert the row to obtain a row lock.
The bug was in the process looking for the row. If extended protocol
is used, pgpool-II was waiting for the row data forever which will
never come because there's no such a row in the table. The fix is when
"command complete" received, let pgpool-II regards as if "data row"
received. The bug was introduced when 3.2.1 was released. A
reproducable test case is provided by Karsten Düsterloh. See
[pgpool-general: 1684] for more details.
Branch
------
V3_2_STABLE
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=c6ccf1e070f2e37878082fdfe40112b7f11a9197
Modified Files
--------------
pool_process_query.c | 5 +++++
1 file changed, 5 insertions(+)
More information about the pgpool-committers
mailing list