OSDN Git Service

Fix incorrect comment about the timing of AbsorbFsyncRequests() during
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Jul 2007 14:51:24 +0000 (14:51 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Jul 2007 14:51:24 +0000 (14:51 +0000)
commit83aaebba63a51cf2207b69e89ead767f3a82ce88
treeb48b02aaf0c28ece442d678cee3f412485d3c020
parenta55898131e0c68efc5836a6cada8e34e47678b71
Fix incorrect comment about the timing of AbsorbFsyncRequests() during
checkpoint.  The comment claimed that we could do this anytime after
setting the checkpoint REDO point, but actually BufferSync is relying
on the assumption that buffers dumped by other backends will be fsync'd
too.  So we really could not do it any sooner than we are doing it.
src/backend/postmaster/bgwriter.c
src/backend/storage/smgr/md.c