Fix breakage by the wal_sync_method patch in installations that use
authorMagnus Hagander
Mon, 12 May 2008 19:45:23 +0000 (19:45 +0000)
committerMagnus Hagander
Mon, 12 May 2008 19:45:23 +0000 (19:45 +0000)
O_DSYNC (specifically this broke all the Windows buildfarm members)

src/backend/access/transam/xlog.c

index 530d7b66eb99c29a066d178c3c704c76a117379f..3504c7386699799885d6f606ddc7432aaffb8719 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/backend/access/transam/xlog.c,v 1.306 2008/05/12 16:06:09 alvherre Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.307 2008/05/12 19:45:23 mha Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -6431,6 +6431,7 @@ issue_xlog_fsync(void)
            break;
 #endif
        case SYNC_METHOD_OPEN:
+       case SYNC_METHOD_OPEN_DSYNC:
            /* write synced it already */
            break;
        default: