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

Re: CYGWIN pgrename hacks fail

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Reini Urban <rurban(at)x-ray(dot)at>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: CYGWIN pgrename hacks fail
Date: 2004-09-10 01:54:54
Message-ID: 200409100154.i8A1ssM05507@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-cygwin
Does this work now?

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

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/
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

Responses

pgsql-cygwin by date

Next:From: Reini UrbanDate: 2004-09-10 09:19:30
Subject: Re: CYGWIN pgrename hacks fail
Previous:From: Beswick AlanDate: 2004-09-09 03:54:24
Subject: cygwin on windows problem

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