--- xlog.c.orig Tue Apr 23 07:39:38 2002 +++ xlog.c Tue Apr 23 07:44:36 2002 @@ -1506,7 +1506,7 @@ InstallXLogFileSegment(uint32 log, uint3 * 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(__CYGWIN__) 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);