aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-07-23 15:31:16 +0000
committerBruce Momjian <bruce@momjian.us>2005-07-23 15:31:16 +0000
commit9af9d674c61ca1c2e26d7a9295d5b1bcc8cabb60 (patch)
tree2b7e6ec1131e66a380392d622519fcf99e6bd3e3 /src/backend/access/transam/xlog.c
parent4098c8867d4dbdb9139e52be7b6bf89ae1594f6f (diff)
downloadpostgresql-9af9d674c61ca1c2e26d7a9295d5b1bcc8cabb60.tar.gz
postgresql-9af9d674c61ca1c2e26d7a9295d5b1bcc8cabb60.zip
Remove unintended code addition.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 84a0d0df5b6..1204ae34bf4 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.209 2005/07/23 15:29:47 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.210 2005/07/23 15:31:16 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -48,15 +48,6 @@
/*
- * Becauase O_DIRECT bypasses the kernel buffers, and because we never
- * read those buffers except during crash recovery, it seems like
- * a win to use it in all cases.
- */
-#ifdef O_DIRECT
-#define PG_O_DIRECT O_DIR(enableFsync ? (open_sync_bit | O_DIRECT) : 0)
-#else
-
-/*
* This chunk of hackery attempts to determine which file sync methods
* are available on the current platform, and to choose an appropriate
* default method. We assume that fsync() is always available, and that