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

CYGWIN pgrename hacks fail

From: Reini Urban <rurban(at)x-ray(dot)at>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: CYGWIN pgrename hacks fail
Date: 2004-09-04 14:20:00
Message-ID: 4139CF10.80501@x-ray.at (view raw or flat)
Thread:
Lists: pgsql-cygwin
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/


Responses

pgsql-cygwin by date

Next:From: Reini UrbanDate: 2004-09-04 18:11:21
Subject: postgres 8 plperl
Previous:From: Christopher BrowneDate: 2004-09-04 13:07:38
Subject: Re: Developers page is down

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