pgsql: Fix incorrect comment about the timing of AbsorbFsyncRequests() - Mailing list pgsql-committers

From [email protected] (Tom Lane)
Subject pgsql: Fix incorrect comment about the timing of AbsorbFsyncRequests()
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: [email protected] (User Fxjr)
Date:
Subject: npgsql - Npgsql2: 2007-07-03 Francisco Figueiredo Jr.
Next
From: [email protected] (User Pgunittest)
Date:
Subject: pgunittest - pgUnitTest: New Directory