Additional mop-up for sync-to-fsync changes: avoid issuing fsyncs for
Tom Lane <tgl@sss.pgh.pa.us>
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).
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/buffer/bufmgr.c | modified | +10 −7 |
| src/backend/storage/buffer/localbuf.c | modified | +3 −2 |
| src/backend/storage/smgr/md.c | modified | +24 −8 |
| src/backend/storage/smgr/smgr.c | modified | +44 −28 |
| src/include/storage/smgr.h | modified | +13 −7 |