diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2015-09-30 10:36:23 +0900 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2015-09-30 10:53:31 +0900 |
commit | a16db3a07da9c47a5ef5b1d18f9c45bdb893b243 (patch) | |
tree | 466a4f2d581ccbaa4dc8c164f12bfa5fc4b19261 /src/backend/commands/async.c | |
parent | 6b61955135e94b39d85571fdbb0c5a749af767f1 (diff) | |
download | postgresql-a16db3a07da9c47a5ef5b1d18f9c45bdb893b243.tar.gz postgresql-a16db3a07da9c47a5ef5b1d18f9c45bdb893b243.zip |
Fix incorrect tps number calculation in "excluding connections establishing".
The tolerance (larger than actual tps number) increases as the number
of threads decreases. The bug has been there since the thread support
was introduced in 9.0. Because back patching introduces incompatible
behavior changes regarding the tps number, the fix is committed to
master and 9.5 stable branches only.
Problem spotted by me and fix proposed by Fabien COELHO. Note that his
original patch included more than fixes (a code re-factoring) which is
not related to the problem and I omitted the part.
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions