aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/sql-execute.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-09-25 22:11:48 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-09-25 22:11:48 +0000
commit7a315a09dc0f7a1f903b89022a2a833c1719145b (patch)
tree56bbb50df14a7caa843411446b291d2acbf117f9 /src/interfaces/ecpg/test/expected/sql-execute.c
parent6f5c38dcd0dfb391bcbaa683a96f4a62c574d95a (diff)
downloadpostgresql-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