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.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c
index bb94c4c5dec..542e174eee6 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.1.1.1 1996/07/09 06:21:55 scrappy Exp $
+ * $Id: fd.c,v 1.2 1996/07/15 19:22:07 scrappy Exp $
*
* NOTES:
*
@@ -191,6 +191,15 @@ static int FileAccess(File file);
static File fileNameOpenFile(FileName fileName, int fileFlags, int fileMode);
static char *filepath(char *filename);
+#ifdef OPENLINK_PATCHES
+pg_fsync(fd)
+{
+ extern int fsyncOff;
+ return fsyncOff ? 0 : fsync(fd);
+}
+#define fsync pg_fsync
+#endif
+
#if defined(FDDEBUG)
static void
_dump_lru()