|
7 | 7 | * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
8 | 8 | * Portions Copyright (c) 1994, Regents of the University of California
|
9 | 9 | *
|
10 |
| - * $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.92 2002/04/21 19:08:02 thomas Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.93 2002/04/24 01:54:43 momjian Exp $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
@@ -1504,7 +1504,7 @@ InstallXLogFileSegment(uint32 log, uint32 seg, char *tmppath,
|
1504 | 1504 | * overwrite an existing logfile. However, there shouldn't be one, so
|
1505 | 1505 | * rename() is an acceptable substitute except for the truly paranoid.
|
1506 | 1506 | */
|
1507 |
| -#ifndef__BEOS__ |
| 1507 | +#if !defined(__BEOS__)&& !defined(N_PLAT_NLM) |
1508 | 1508 | if (link(tmppath,path)<0)
|
1509 | 1509 | elog(PANIC,"link from %s to %s (initialization of log file %u, segment %u) failed: %m",
|
1510 | 1510 | tmppath,path,log,seg);
|
|