CYGWIN pgrename hacks fail

Поиск
Список
Период
Сортировка
От Reini Urban
Тема CYGWIN pgrename hacks fail
Дата
Msg-id 4139CF10.80501@x-ray.at
обсуждение исходный текст
Ответы Re: CYGWIN pgrename hacks fail  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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/


В списке pgsql-cygwin по дате отправления:

Предыдущее
От: Kumar Pandey
Дата:
Сообщение: Re: postgresql-7.4.5-1 ready for review
Следующее
От: Reini Urban
Дата:
Сообщение: postgres 8 plperl