[pgpool-hackers: 3651] Fix miscount connection_count

Takuma Hoshiai hoshiai at sraoss.co.jp
Wed Jun 17 16:42:06 JST 2020


Hello,

I found that pgpool miscount connection count, when pg_terminate_backend()
is executed for a session which is running query.

We can confirm this bug by regression test 073 with log_min_messages = 'debug5'.
I have attached the patch. Please check that this patch is correct, because
I don't know the detail of connection count algorithm.

Best Regards,

-- 
Takuma Hoshiai <hoshiai at sraoss.co.jp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_connection_count.patch
Type: application/octet-stream
Size: 1563 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-hackers/attachments/20200617/588cbf52/attachment.obj>


More information about the pgpool-hackers mailing list