Skip site navigation (1) Skip section navigation (2)

Re: CYGWIN pgrename hacks fail

From: Reini Urban <rurban(at)x-ray(dot)at>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: CYGWIN pgrename hacks fail
Date: 2004-09-10 09:19:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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. 
>>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

In response to

pgsql-cygwin by date

Next:From: Michael GlaesemannDate: 2004-09-11 01:44:21
Subject: Adding columns in the middle (Was: Developers page is down)
Previous:From: Bruce MomjianDate: 2004-09-10 01:54:54
Subject: Re: CYGWIN pgrename hacks fail

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group