Re: Patch for xlog.c - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Patch for xlog.c
Date
Msg-id 200204172347.g3HNlMi17347@candle.pha.pa.us
Whole thread Raw
In response to Patch for xlog.c  (Ulrich Neumann <u_neumann@gne.de>)
List pgsql-hackers
Your patch has been added to the PostgreSQL unapplied patches list at:

    http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------


Ulrich Neumann wrote:
> Hello everybody,
>
> If possible please add the following patch to better support NetWare.
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
--- \pgsql72.org\src\backend\access\transam\xlog.c    Mon Jan 14 16:55:58 2002
+++ \pgsql72.dev\src\backend\access\transam\xlog.c    Mon Feb 11 00:40:10 2002
@@ -1493,7 +1493,7 @@
      * 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(STOP, "link from %s to %s (initialization of log file %u, segment %u) failed: %m",
              tmppath, path, log, seg);

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: regexp character class locale awareness patch
Next
From: Sean Chittenden
Date:
Subject: Re: Index Scans become Seq Scans after VACUUM ANALYSE