aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/file/fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/storage/file/fd.c')
-rw-r--r--src/backend/storage/file/fd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c
index 0cf8478959d..3948a89850c 100644
--- a/src/backend/storage/file/fd.c
+++ b/src/backend/storage/file/fd.c
@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Id: fd.c,v 1.37 1999/02/13 23:18:05 momjian Exp $
+ * $Id: fd.c,v 1.38 1999/03/17 22:53:06 momjian Exp $
*
* NOTES:
*
@@ -168,9 +168,7 @@ static long pg_nofile(void);
int
pg_fsync(int fd)
{
- extern int fsyncOff;
-
- return fsyncOff ? 0 : fsync(fd);
+ return disableFsync ? 0 : fsync(fd);
}
#define fsync pg_fsync