]> granicus.if.org Git - postgresql/commit
Added GUC variable bgwriter_flush_method controlling the action
authorJan Wieck <JanWieck@Yahoo.com>
Sat, 24 Jan 2004 20:00:46 +0000 (20:00 +0000)
committerJan Wieck <JanWieck@Yahoo.com>
Sat, 24 Jan 2004 20:00:46 +0000 (20:00 +0000)
commitd77b63b17cb34c69b4ace1f4479566b9f9160e2b
tree0cb83cec44628e1b8db0bca809a77724af581a91
parent610d33c1949005e9658863441f31083f9f3ceb9b
Added GUC variable bgwriter_flush_method controlling the action
done by the background writer between writing dirty blocks and
napping.

    none (default)   no action
sync             bgwriter calls smgrsync() causing a sync(2)

A global sync() is only good on dedicated database servers, so
more flush methods should be added in the future.

Jan
src/backend/storage/buffer/bufmgr.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/storage/bufmgr.h