1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-25 13:17:41 +03:00

Allow unlink/rename of files open by another process on Win32, using a

special Win32 open flag FILE_SHARE_DELETE.

Claudio Natoli
This commit is contained in:
Bruce Momjian
2004-03-24 03:54:16 +00:00
parent d6bc5944a0
commit b8fd6756e2
6 changed files with 110 additions and 6 deletions

View File

@@ -16,7 +16,7 @@
#define _strnicmp(a,b,c) strnicmp(a,b,c)
#define _errno errno
#else
#define open(a,b,c) _open(a,b,c)
/* open provided elsewhere */
#define close(a) _close(a)
#define read(a,b,c) _read(a,b,c)
#define write(a,b,c) _write(a,b,c)