aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvacuum.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2012-03-21 17:43:53 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2012-03-21 17:43:53 +0200
commit04e9dc6e01dd8acb1b477c1649172dfbda822581 (patch)
tree0c9e6142ed1ff01bd3fc6e70cbf0425fa387b81c /src/backend/access/gist/gistvacuum.c
parent52b03fbdfed752ff10620d44eb808b09baf29add (diff)
downloadpostgresql-04e9dc6e01dd8acb1b477c1649172dfbda822581.tar.gz
postgresql-04e9dc6e01dd8acb1b477c1649172dfbda822581.zip
Fix bug where walsender goes into a busy loop if connection is terminated.
The problem was that ResetLatch was not being called in the walsender loop if the connection was terminated, so WaitLatch never sleeps until the terminated connection is detected. In the master-branch, this was already fixed as a side-effect of some refactoring of the loop. This commit backports that refactoring to 9.1. 9.0 does not have this bug, because we didn't use latches back then. Fujii Masao
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions