[pgpool-committers: 7562] pgpool: Fix hang with asyncpg.

Tatsuo Ishii ishii at sraoss.co.jp
Thu Mar 18 14:42:18 JST 2021


Fix hang with asyncpg.

asyncpg (Python frontend driver with asynchronous I/O) uses extended
protocol. When it issues describe message, it is followed by Flush
message. Unfortunately Pgpool-II just buffers flush message and
frontend cannot receive the message from pgpool. To fix this, Now
SimpleForwardToFrontend() flushes the send buffer while processing
describe message.

Discussion:
https://www.pgpool.net/pipermail/pgpool-general/2021-March/007495.html

Branch
------
V4_1_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=3852897cf16845e06ebc88b4559fb09a7b0350d9

Modified Files
--------------
src/protocol/pool_process_query.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)



More information about the pgpool-committers mailing list