Re: Fix for win32 stat() problems

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Fix for win32 stat() problems
Дата
Msg-id 20080410130853.GE4697@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Fix for win32 stat() problems  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Fix for win32 stat() problems  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Andrew Dunstan wrote:

> How about #defining safe_stat to be pg_win32_safe_stat on Windows and
> simply stat elsewhere? Then use safe_stat at the places you consider
> critical.

I would couple this with a pgwin32_unsafe_stat on Windows, which changes
the size value to 0, so that if anyone gets it wrong it's immediately
obvious.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: Partial match in GIN
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Fix for win32 stat() problems