[pgpool-committers: 1025] pgpool: Fix bug with do_query which causes hung in extended protocol.
ishii at postgresql.org
Mon Jun 3 18:34:01 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.
pool_process_query.c | 5 +++++
1 file changed, 5 insertions(+)
More information about the pgpool-committers