aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-04-24 01:54:43 +0000
committerBruce Momjian <bruce@momjian.us>2002-04-24 01:54:43 +0000
commitd37134085bccedea456367c3e4bce02268d61be3 (patch)
tree3787052f90dc1ea57f2bc12f47d2d0d5a40075c3
parentf71c924f10afb2f7922458b0b91b0232bfa8ddd2 (diff)
downloadpostgresql-d37134085bccedea456367c3e4bce02268d61be3.tar.gz
postgresql-d37134085bccedea456367c3e4bce02268d61be3.zip
xlog.c: If possible please add the following patch to better support NetWare.
Ulrich Neumann
-rw-r--r--src/backend/access/transam/xlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 75e1ff9d0e0..a6a51f7f604 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.92 2002/04/21 19:08:02 thomas Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.93 2002/04/24 01:54:43 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1504,7 +1504,7 @@ InstallXLogFileSegment(uint32 log, uint32 seg, char *tmppath,
* overwrite an existing logfile. However, there shouldn't be one, so
* rename() is an acceptable substitute except for the truly paranoid.
*/
-#ifndef __BEOS__
+#if !defined(__BEOS__) && !defined(N_PLAT_NLM)
if (link(tmppath, path) < 0)
elog(PANIC, "link from %s to %s (initialization of log file %u, segment %u) failed: %m",
tmppath, path, log, seg);