Re: [HACKERS] win32 performance - fsync question
Tom Lane <[email protected]> Thu, 17 Mar 2005 13:41:00 -0500
| Newsgroups | gmane.comp.db.postgresql.devel.win32,gmane.comp.db.postgresql.devel.general |
|---|---|
| Message-ID | <[email protected]> |
Bruce Momjian <[email protected]> writes: > However, I do prefer this patch and let Win32 have the same write cache > issues as Unix, for consistency. I agree that the open flag is more nearly O_DSYNC than O_SYNC. ISTM Windows' idea of fsync is quite different from Unix's and therefore we should name the wal_sync_method that invokes it something different than fsync. "write_through" or some such? We already have precedent that not all wal_sync_method values are available on all platforms. I'm not taking a position on which the default should be ... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq