aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-04-25 16:18:40 +0000
committerBruce Momjian <bruce@momjian.us>2003-04-25 16:18:40 +0000
commita2190c9eb6afc65fddb80667d48024428368a9b6 (patch)
treece100beb363942102a2b2a54e7194f0f74f7fb09 /src
parent97e2446bf06fcb08bce4b1dac01153e95253b8df (diff)
downloadpostgresql-a2190c9eb6afc65fddb80667d48024428368a9b6.tar.gz
postgresql-a2190c9eb6afc65fddb80667d48024428368a9b6.zip
Prevent unlink/rename Win32 mapping on frontends.
Diffstat (limited to 'src')
-rw-r--r--src/include/c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 8352ebac2a4..4c9f930cef3 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: c.h,v 1.140 2003/04/25 01:24:00 momjian Exp $
+ * $Id: c.h,v 1.141 2003/04/25 16:18:40 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -714,7 +714,7 @@ off_t ftello(FILE *stream);
/*
* Win32 doesn't have reliable rename/unlink during concurrent access
*/
-#ifdef WIN32
+#if defined(WIN32) && !defined(FRONTEND)
int pgrename(const char *from, const char *to);
int pgunlink(const char *path);
#define rename(path) pgrename(path)