OSDN Git Service

Additional mop-up for sync-to-fsync changes: avoid issuing fsyncs for
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 May 2004 20:31:33 +0000 (20:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 May 2004 20:31:33 +0000 (20:31 +0000)
commit91d20ff7aa4c61e570cf652bb3a48fd18fcf9d9d
treedce0d78c487cf062284405192f7cf221f5bfa7fb
parente674707968059459960304981fc0a1d7a6049e24
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).
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/localbuf.c
src/backend/storage/smgr/md.c
src/backend/storage/smgr/smgr.c
src/include/storage/smgr.h