Thread: pgsql-server: Additional mop-up for sync-to-fsync changes: avoid issuing

pgsql-server: Additional mop-up for sync-to-fsync changes: avoid issuing

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Additional mop-up for sync-to-fsync changes: avoid issuing fsyncs for
temp tables, and avoid WAL-logging truncations of temp tables.  Do issue
fsync on truncated files (not sure this is necessary but it seems like
a good idea).

Modified Files:
--------------
    pgsql-server/src/backend/storage/buffer:
        bufmgr.c (r1.168 -> r1.169)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/storage/buffer/bufmgr.c.diff?r1=1.168&r2=1.169)
        localbuf.c (r1.54 -> r1.55)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/storage/buffer/localbuf.c.diff?r1=1.54&r2=1.55)
    pgsql-server/src/backend/storage/smgr:
        md.c (r1.105 -> r1.106)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/storage/smgr/md.c.diff?r1=1.105&r2=1.106)
        smgr.c (r1.71 -> r1.72)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/storage/smgr/smgr.c.diff?r1=1.71&r2=1.72)
    pgsql-server/src/include/storage:
        smgr.h (r1.42 -> r1.43)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/storage/smgr.h.diff?r1=1.42&r2=1.43)