OSDN Git Service

Remove DEFAULT_SYNC_FLAGBIT ... not used anymore.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 17 May 2008 16:49:23 +0000 (16:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 17 May 2008 16:49:23 +0000 (16:49 +0000)
src/include/access/xlogdefs.h

index 17b3e51..285890b 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/access/xlogdefs.h,v 1.20 2008/05/12 08:35:05 mha Exp $
+ * $PostgreSQL: pgsql/src/include/access/xlogdefs.h,v 1.21 2008/05/17 16:49:23 tgl Exp $
  */
 #ifndef XLOG_DEFS_H
 #define XLOG_DEFS_H
@@ -110,16 +110,12 @@ typedef uint32 TimeLineID;
 
 #if defined(OPEN_DATASYNC_FLAG)
 #define DEFAULT_SYNC_METHOD            SYNC_METHOD_OPEN_DSYNC
-#define DEFAULT_SYNC_FLAGBIT   OPEN_DATASYNC_FLAG
 #elif defined(HAVE_FDATASYNC)
 #define DEFAULT_SYNC_METHOD            SYNC_METHOD_FDATASYNC
-#define DEFAULT_SYNC_FLAGBIT   0
 #elif defined(HAVE_FSYNC_WRITETHROUGH_ONLY)
 #define DEFAULT_SYNC_METHOD            SYNC_METHOD_FSYNC_WRITETHROUGH
-#define DEFAULT_SYNC_FLAGBIT   0
 #else
 #define DEFAULT_SYNC_METHOD            SYNC_METHOD_FSYNC
-#define DEFAULT_SYNC_FLAGBIT   0
 #endif
 
 /*