Patch for xlog.c
Patch for xlog.c
От:
Ulrich Neumann <u_neumann@gne.de>
Дата:
Hello everybody,
If possible please add the following patch to better support NetWare.
best regards
Ulrich Neumann
Novell Worldwide Developer Support
begin 666 xlog.patch
M+2TM(%QP9W-Q;#&-E<'0@9F]R('1H92!T2!P
M87)A;F]I9"X-"B`)("HO#0HM(VEF;F1E9B!?7T)%3U-?7PT**R-I9B`A9&5F
M:6YE9"A?7T)%3U-?7RD@)B8@(61E9FEN960H3E]03$%47TY,32D-"B`):68@
M*&QI;FLH=&UP<&%T:"P@<&%T:"D@/"`P*0T*(`D)96QO9RA35$]0+"`B;&EN
M:R!FRe: Patch for xlog.c
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
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);
Re: Patch for xlog.c
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Patch applied. Thanks.
---------------------------------------------------------------------------
Ulrich Neumann wrote:
> Hello everybody,
>
> If possible please add the following patch to better support NetWare.
>
> best regards
>
> Ulrich Neumann
> Novell Worldwide Developer Support
>
> begin 666 xlog.patch
> M+2TM(%QP9W-Q;# M;&]G+F,)36]N($IA;B`Q-"`Q-CHU-3HU."`R,#`R#0HK*RL@7'!G M9&5V7'-R8UQB86-K96YD7&%C8V5S M(#$Q(#`P.C0P.C$P(#(P,#(-"D!`("TQ-#DS+#<@*S$T.3,L-R!`0`T*(`D@
> M*B!O=F5R=W)I=&4@86X@97AI M97)E('-H;W5L9&XG="!B92!O;F4L('-O#0H@"2`J(')E;F%M92@I(&ES(&%N
> M(&%C8V5P=&%B;&4@&-E<'0@9F]R('1H92!T2!P
> M87)A;F]I9"X-"B`)("HO#0HM(VEF;F1E9B!?7T)%3U-?7PT**R-I9B`A9&5F
> M:6YE9"A?7T)%3U-?7RD@)B8@(61E9FEN960H3E]03$%47TY,32D-"B`):68@
> M*&QI;FLH=&UP<&%T:"P@<&%T:"D@/"`P*0T*(`D)96QO9RA35$]0+"`B;&EN
> M:R!F M=2P@ 0=&@L(&QO9RP@ `
> end
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
-- 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