pgsql: Allow background writing to be shut down by setting limit values

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow background writing to be shut down by setting limit values
Date: 2004-10-17 22:01:51
Message-ID: 20041017220151.C4D1032A817@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Allow background writing to be shut down by setting limit values to zero.
This does not disable the bgwriter process: it still has to wake up often
enough to collect fsync requests from backends in a timely fashion. But
it responds to the recent gripe about not being able to prevent the disk
from being spun up constantly.

Modified Files:
--------------
pgsql/doc/src/sgml:
runtime.sgml (r1.288 -> r1.289)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/runtime.sgml.diff?r1=1.288&r2=1.289)
pgsql/src/backend/storage/buffer:
bufmgr.c (r1.180 -> r1.181)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/bufmgr.c.diff?r1=1.180&r2=1.181)
pgsql/src/backend/utils/misc:
guc.c (r1.244 -> r1.245)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c.diff?r1=1.244&r2=1.245)
postgresql.conf.sample (r1.132 -> r1.133)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/postgresql.conf.sample.diff?r1=1.132&r2=1.133)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-10-17 23:09:33 pgsql: Make the standard stopword files be sought relative to share_dir,
Previous Message Tom Lane 2004-10-17 21:17:29 pgsql: pg_get_indexdef() didn't do quite the right thing with