> "The default is 'on' if your system defines one of the macros O_SYNC, > O_DSYNC, O_FSYNC, and if O_SYNC and O_DSYNC are distinct, otherwise the > default is 'off'." > > The net result of this would be that the average user would have > absolutely no clue what the default on his machine is. > > Additionally consider that maybe O_SYNC and O_DSYNC have different values > but the kernel treats them the same anyway. We really shouldn't try to > guess that far. Good point. I think Tom already found dfsync points to fsync in his libc, or something like that. -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026 ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster
- Re: [HACKERS] Allowing WAL fsync to be done via O_SY... Tom Lane
- Re: [HACKERS] Allowing WAL fsync to be done via ... Alfred Perlstein
- Re: [HACKERS] Allowing WAL fsync to be done ... Peter Eisentraut
- Re: [HACKERS] Allowing WAL fsync to be d... Alfred Perlstein
- Re: [HACKERS] Allowing WAL fsync to... Tom Lane
- Re: [HACKERS] Allowing WAL fsyn... Alfred Perlstein
- Re: [HACKERS] Allowing WAL fsync to be done ... Lamar Owen
- Re: [HACKERS] Allowing WAL fsync to be done via ... Peter Eisentraut
- Re: [HACKERS] Allowing WAL fsync to be done ... Tom Lane
- [HACKERS] Re: Allowing WAL fsync to be d... Thomas Lockhart
- Re: [HACKERS] Allowing WAL fsync to be done ... Bruce Momjian
- Re: [HACKERS] Allowing WAL fsync to be done via O_SY... Bruce Momjian
- RE: [HACKERS] Allowing WAL fsync to be done via O_SYNC Mikheev, Vadim
- Re: [HACKERS] Allowing WAL fsync to be done via O_SY... Alfred Perlstein
- Re: [HACKERS] Allowing WAL fsync to be done via ... Tom Lane
- Re: [HACKERS] Allowing WAL fsync to be done ... Alfred Perlstein
- Re[2]: [HACKERS] Allowing WAL fsync to be do... Xu Yifeng
- Re: Re[2]: [HACKERS] Allowing WAL fsync ... Alfred Perlstein
- Re[4]: [HACKERS] Allowing WAL fsync... Xu Yifeng
- Re: Re[4]: [HACKERS] Allowing W... Alfred Perlstein
- Re: Re[4]: [HACKERS] Allowing W... Tom Lane