aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2008-05-12 19:45:23 +0000
committerMagnus Hagander <magnus@hagander.net>2008-05-12 19:45:23 +0000
commitaa82790fcab98b8d3d4eca2e2f6f7bfce57870bc (patch)
treeb6c686c642e23b1d8a77ccc80dc434f37530cb47 /src/backend/access/transam/xlog.c
parent1fe8d171286fbe8a43ec66a5e04932e2874401f4 (diff)
downloadpostgresql-aa82790fcab98b8d3d4eca2e2f6f7bfce57870bc.tar.gz
postgresql-aa82790fcab98b8d3d4eca2e2f6f7bfce57870bc.zip
Fix breakage by the wal_sync_method patch in installations that use
O_DSYNC (specifically this broke all the Windows buildfarm members)
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 530d7b66eb9..3504c738669 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -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: