Allow background writing to be shut down by setting limit values to zero.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Oct 2004 22:01:51 +0000 (22:01 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Oct 2004 22:01:51 +0000 (22:01 +0000)
commit4347cc2392a75dec1d5e83f8b60911597fc602d9
tree291a95ed8fc4a81871ca98848ec69007e1078663
parentbdbe9c9f061439f180976b75e4be50f5ea64d07f
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.
doc/src/sgml/runtime.sgml
src/backend/storage/buffer/bufmgr.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample