Re: CYGWIN pgrename hacks fail - Mailing list pgsql-cygwin

From Reini Urban
Subject Re: CYGWIN pgrename hacks fail
Date
Msg-id 414171A2.4070600@x-ray.at
Whole thread Raw
In response to Re: CYGWIN pgrename hacks fail  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-cygwin
Bruce Momjian schrieb:
> Does this work now?

no, see my #undef rename complaint in the APR thread.

> ---------------------------------------------------------------------------
> Reini Urban wrote:
>
>>I successfully solved the remaining IPC problems on cygwin, but stumbled
>>upon new file operation problems.
>>
>>At the bootstrap stage 1 XLogFileInit() fails at the rename step.
>>(xlog.c:1780)
>>post/dirmod.c is a very dirty piece of hack. cygwin shouldn't be that
>>that stupid. mingw maybe.
>>
>>anyway, there's obviously a test mode, which doesn't compile.
>>post/dirmod cannot be compiled with -DFRONTEND
>>because pg_usleep is not defined on -DFRONTEND and __CYGWIN__
>>
>>Any hints? who tested this?
>>The old pgrename version (7.4.5) worked just fine.
>>Now with the cygwin specific steps it fails.
>>
>>e.g. In the debugger it says errno not defined. (dirmod.c:79)
>>errno is only defined in mingw.

--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

pgsql-cygwin by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: CYGWIN pgrename hacks fail
Next
From: Randy Yates
Date:
Subject: Windows 2000/cygwin problems with 7.4.5