File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/backend/access/transam Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
10
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.220 2005/10/15 02:49:10 momjian Exp $
10
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.221 2005/10/22 20:27:17 tgl Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
99
99
#define DEFAULT_SYNC_METHOD_STR "fdatasync"
100
100
#define DEFAULT_SYNC_METHOD SYNC_METHOD_FDATASYNC
101
101
#define DEFAULT_SYNC_FLAGBIT 0
102
- #elif !defined(HAVE_FSYNC_WRITETHROUGH_ONLY )
103
- #define DEFAULT_SYNC_METHOD_STR "fsync"
104
- #define DEFAULT_SYNC_METHOD SYNC_METHOD_FSYNC
105
- #define DEFAULT_SYNC_FLAGBIT 0
106
- #else
102
+ #elif defined(HAVE_FSYNC_WRITETHROUGH_ONLY )
107
103
#define DEFAULT_SYNC_METHOD_STR "fsync_writethrough"
108
104
#define DEFAULT_SYNC_METHOD SYNC_METHOD_FSYNC_WRITETHROUGH
109
105
#define DEFAULT_SYNC_FLAGBIT 0
106
+ #else
107
+ #define DEFAULT_SYNC_METHOD_STR "fsync"
108
+ #define DEFAULT_SYNC_METHOD SYNC_METHOD_FSYNC
109
+ #define DEFAULT_SYNC_FLAGBIT 0
110
110
#endif
111
111
112
112
You can’t perform that action at this time.
0 commit comments