projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7aa638
)
xlog.c: If possible please add the following patch to better support NetWare.
author
Bruce Momjian
<bruce@momjian.us>
Wed, 24 Apr 2002 01:54:43 +0000
(
01:54
+0000)
committer
Bruce Momjian
<bruce@momjian.us>
Wed, 24 Apr 2002 01:54:43 +0000
(
01:54
+0000)
Ulrich Neumann
src/backend/access/transam/xlog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index 1b935836abdaf71a54317f86dcf2e17362c5468b..95889086afba6d8632c14c32bc913cd540a6c188 100644
(file)
--- a/
src/backend/access/transam/xlog.c
+++ b/
src/backend/access/transam/xlog.c
@@
-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.
*/
-#if
ndef __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);