Thread: pgsql: Fix incorrect comment about the timing of AbsorbFsyncRequests()

pgsql: Fix incorrect comment about the timing of AbsorbFsyncRequests()

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        bgwriter.c (r1.40 -> r1.41)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/bgwriter.c.diff?r1=1.40&r2=1.41)
    pgsql/src/backend/storage/smgr:
        md.c (r1.128 -> r1.129)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/smgr/md.c.diff?r1=1.128&r2=1.129)