diff options
author | Tom Lane | 2007-09-25 22:11:48 +0000 |
---|---|---|
committer | Tom Lane | 2007-09-25 22:11:48 +0000 |
commit | 7a315a09dc0f7a1f903b89022a2a833c1719145b (patch) | |
tree | 56bbb50df14a7caa843411446b291d2acbf117f9 /doc/src | |
parent | 6f5c38dcd0dfb391bcbaa683a96f4a62c574d95a (diff) |
Dept. of second thoughts: fix loop in BgBufferSync so that the exit when
bgwriter_lru_maxpages is exceeded leaves the loop variables in the
expected state. In the original coding, we'd fail to advance
next_to_clean, causing that buffer to be probably-uselessly rechecked next
time, and also have an off-by-one idea of the number of buffers scanned.
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions