From: | tgl(at)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Dept. |
Date: | 2007-09-25 22:11:48 |
Message-ID: | 20070925221148.CB657753E4C@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
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.
Modified Files:
--------------
pgsql/src/backend/storage/buffer:
bufmgr.c (r1.225 -> r1.226)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/bufmgr.c?r1=1.225&r2=1.226)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-09-25 22:21:55 | pgsql: Change on-disk representation of NUMERIC datatype so that the |
Previous Message | Tom Lane | 2007-09-25 20:03:38 | pgsql: Just-in-time background writing strategy. |