| От | Tom Lane |
|---|---|
| Тема | Re: Fix for win32 stat() problems |
| Дата | |
| Msg-id | 26499.1207770533@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Fix for win32 stat() problems (Magnus Hagander <magnus@hagander.net>) |
| Ответы |
Re: Fix for win32 stat() problems
|
| Список | pgsql-patches |
Magnus Hagander <magnus@hagander.net> writes:
> Tom Lane wrote:
>> Ick.
> The reason not to do so was to avoid having to do the two filesystem
> calls for *every* stat, instead just calling them both when we actually
> need to use the st_size member.
I don't think that's worth (a) the code uglification, or (b) the chance
of a bug later due to someone not knowing they need the special version
of stat(). Are there any stat() calls that are in sufficiently
performance-critical paths that it really matters? How much slower is
the second call, anyway?
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера