Re: fsync with sync, and Win32 unlink

Поиск
Список
Период
Сортировка
От Claudio Natoli
Тема Re: fsync with sync, and Win32 unlink
Дата
Msg-id A02DEC4D1073D611BAE8525405FCCE2B55F37D@harris.memetrics.local
обсуждение исходный текст
Список pgsql-hackers-win32
> 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
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

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

Предыдущее
От: Claudio Natoli
Дата:
Сообщение: Re: fsync with sync, and Win32 unlink
Следующее
От: Claudio Natoli
Дата:
Сообщение: Re: fsync with sync, and Win32 unlink