1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-03 15:22:11 +03:00

Allow Win32 to support the O_SYNC open flag as an wal_sync_method method.

Magnus Hagander
This commit is contained in:
Bruce Momjian
2005-02-27 00:53:29 +00:00
parent 234d50812c
commit afbc30e5d4
3 changed files with 17 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/port.h,v 1.69 2005/01/06 00:59:25 tgl Exp $
* $PostgreSQL: pgsql/src/include/port.h,v 1.70 2005/02/27 00:53:29 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -174,7 +174,8 @@ extern bool rmtree(char *path, bool rmtopdir);
#if defined(WIN32) && !defined(__CYGWIN__)
/* open() replacement to allow delete of held files */
/* open() replacement to allow delete of held files and passing
* of special options. */
#ifndef WIN32_CLIENT_ONLY
extern int win32_open(const char *, int,...);