I noticed sync() is used in PostgreSQL.
CHECKPOINT -> FlushBufferPool() -> smgrsync() -> mdsync() -> sync()
Can someone tell me why we need sync() here?--Tatsuo Ishii