diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-09-25 22:11:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-09-25 22:11:48 +0000 |
commit | 7a315a09dc0f7a1f903b89022a2a833c1719145b (patch) | |
tree | 56bbb50df14a7caa843411446b291d2acbf117f9 /src/interfaces/ecpg/test/expected/sql-execute.c | |
parent | 6f5c38dcd0dfb391bcbaa683a96f4a62c574d95a (diff) | |
download | postgresql-7a315a09dc0f7a1f903b89022a2a833c1719145b.tar.gz postgresql-7a315a09dc0f7a1f903b89022a2a833c1719145b.zip |
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 'src/interfaces/ecpg/test/expected/sql-execute.c')
0 files changed, 0 insertions, 0 deletions