Re: fsync with sync, and Win32 unlink

Поиск
Список
Период
Сортировка
Искать
От
Claudio Natoli
Тема
Re: fsync with sync, and Win32 unlink
Дата
Msg-id
A02DEC4D1073D611BAE8525405FCCE2B55F37D@harris.memetrics.local
Список

> I'll play with it a bit more, and pending any major flaws 
> I'll submit a patch in the near future.

Speaking of which, I'm formatting up a patch now, and was intending to do:

#ifdef WIN32
extern int	win32_pgopen(const char*,int,int);
#define 	open(a,b,c)		win32_pgopen(a,b,c)
#endif

However, we also call open in some places with 2 arguments, which breaks
this approach. I'm also loathe to do:

#define 	open		win32_pgopen

for reasons which should be obvious.

Work-around anyone?

Cheers,
Claudio

--- 
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see 
http://www.memetrics.com/em
ailpolicy.html
В списке pgsql-hackers-win32 по дате отправления
От: Claudio Natoli
Дата:
От: Claudio Natoli
Дата:
FAQ