8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e046b3d commit 26cbccdCopy full SHA for 26cbccd
src/include/port/win32.h
@@ -1,4 +1,4 @@
1
-/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.45 2005/05/20 14:53:26 momjian Exp $ */
+/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.46 2005/06/16 17:53:54 momjian Exp $ */
2
3
/* undefine and redefine after #include */
4
#undef mkdir
@@ -19,6 +19,11 @@
19
#define HAVE_FSYNC_WRITETHROUGH
20
#define HAVE_FSYNC_WRITETHROUGH_ONLY
21
#define ftruncate(a,b) chsize(a,b)
22
+/*
23
+ * Even though we don't support 'fsync' as a wal_sync_method,
24
+ * we do fsync() a few other places where _commit() is just fine.
25
+ */
26
+#define fsync(fd) _commit(fd)
27
28
#define USES_WINSOCK
29
0 commit comments