Tom Lane writes: > I've been mentally working through the code, and see only one reason why > it might be necessary to go with a compile-time choice: suppose we see > that none of O_DSYNC, O_SYNC, O_FSYNC, [others] are defined? We postulate that one of those has to exist. Alternatively, you make the option read wal_sync_method = fsync | open_sync In the "parse_hook" for the parameter you if #ifdef out 'open_sync' as a valid option if none of those exist, so a user will get "'open_sync' is not a valid option value". -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/ ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])
- Re: [HACKERS] Allowing WAL fsync to be done via O_SY... Tom Lane
- Re: [HACKERS] Allowing WAL fsync to be done via ... Bruce Momjian
- Re: [HACKERS] Allowing WAL fsync to be done ... Bruce Momjian
- Re: [HACKERS] Allowing WAL fsync to be d... Tom Lane
- Re: [HACKERS] Allowing WAL fsync to... Bruce Momjian
- Re: [HACKERS] Allowing WAL fsyn... Larry Rosenman
- Testing structure (was) Re: [HACKER... Justin Clift
- Re: [HACKERS] Allowing WAL fsync to be done ... Justin Clift
- Re: [HACKERS] Allowing WAL fsync to be d... Bruce Momjian
- Re: [HACKERS] Allowing WAL fsync to be done via ... Peter Eisentraut
- Re: [HACKERS] Allowing WAL fsync to be done ... Tom Lane
- Re: [HACKERS] Allowing WAL fsync to be d... Peter Eisentraut
- Re: [HACKERS] Allowing WAL fsync to be done via O_SYNC Bruce Momjian
- Re: [HACKERS] Allowing WAL fsync to be done via O_SY... Tom Lane
- Re: [HACKERS] Allowing WAL fsync to be done via ... Bruce Momjian
- Re: [HACKERS] Allowing WAL fsync to be done via ... Peter Eisentraut
- Re: [HACKERS] Allowing WAL fsync to be done via O_SYNC Bruce Momjian