Cygwin InstallXLogFileSegment() rename() patch

Started by Jason Tishlerabout 24 years ago3 messagespatches
Jump to latest
#1Jason Tishler
jason@tishler.net

The attached patch fixes a problem with InstallXLogFileSegment()'s use
of link() under Cygwin:

http://archives.postgresql.org/pgsql-cygwin/2002-04/msg00072.php

Note that it appears that BeOS and Netware also have the above or
similar problem.

I have only verified that PostgreSQL builds under Cygwin with this patch.
Since I cannot reproduce the problem, I cannot verify that the proposed
patch solves it. Nevertheless, both Barry Pederson and David P. Caldwell
attest that this patch solves the problem. See the following for details:

http://archives.postgresql.org/pgsql-cygwin/2002-05/msg00043.php
http://archives.postgresql.org/pgsql-cygwin/2002-05/msg00040.php

Thanks,
Jason

Attachments:

xlog.c.difftext/plain; NAME=xlog.c.diff; charset=us-asciiDownload+1-1
#2Bruce Momjian
bruce@momjian.us
In reply to: Jason Tishler (#1)
Re: [PATCHES] Cygwin InstallXLogFileSegment() rename() patch

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.

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

Jason Tishler wrote:

The attached patch fixes a problem with InstallXLogFileSegment()'s use
of link() under Cygwin:

http://archives.postgresql.org/pgsql-cygwin/2002-04/msg00072.php

Note that it appears that BeOS and Netware also have the above or
similar problem.

I have only verified that PostgreSQL builds under Cygwin with this patch.
Since I cannot reproduce the problem, I cannot verify that the proposed
patch solves it. Nevertheless, both Barry Pederson and David P. Caldwell
attest that this patch solves the problem. See the following for details:

http://archives.postgresql.org/pgsql-cygwin/2002-05/msg00043.php
http://archives.postgresql.org/pgsql-cygwin/2002-05/msg00040.php

Thanks,
Jason

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

-- 
  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
#3Bruce Momjian
bruce@momjian.us
In reply to: Jason Tishler (#1)
Re: [PATCHES] Cygwin InstallXLogFileSegment() rename() patch

Patch applied. Thanks.

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

Jason Tishler wrote:

The attached patch fixes a problem with InstallXLogFileSegment()'s use
of link() under Cygwin:

http://archives.postgresql.org/pgsql-cygwin/2002-04/msg00072.php

Note that it appears that BeOS and Netware also have the above or
similar problem.

I have only verified that PostgreSQL builds under Cygwin with this patch.
Since I cannot reproduce the problem, I cannot verify that the proposed
patch solves it. Nevertheless, both Barry Pederson and David P. Caldwell
attest that this patch solves the problem. See the following for details:

http://archives.postgresql.org/pgsql-cygwin/2002-05/msg00043.php
http://archives.postgresql.org/pgsql-cygwin/2002-05/msg00040.php

Thanks,
Jason

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

-- 
  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