[pgpool-committers: 7386] pgpool: Fix bug child_max_connections is not respected if ERROR occurs.
Tatsuo Ishii
ishii at sraoss.co.jp
Fri Jan 1 11:46:55 JST 2021
Fix bug child_max_connections is not respected if ERROR occurs.
When frontend aborts, the counter for child_max_connections is rewound
because ereport(ERROR) issues long jump. Fix is declaring the variable
with volatile qualifier. This is a long standing bug, probably since
child_max_connections was introduced.
Branch
------
V4_2_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=01e56dd746d0548f4f3a0aa412f52e5f9ffa946a
Modified Files
--------------
src/protocol/child.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
More information about the pgpool-committers
mailing list