| От | Tom Lane |
|---|---|
| Тема | Re: rmtree cleanup |
| Дата | |
| Msg-id | 7462.1099001444@sss.pgh.pa.us обсуждение |
| Ответ на | rmtree cleanup (Andrew Dunstan <andrew@dunslane.net>) |
| Ответы |
Re: rmtree cleanup
|
| Список | pgsql-patches |
Andrew Dunstan <andrew@dunslane.net> writes:
> The attached patch cleans up src/port/dirmod.c::rmtree() a bit. It moves
> the filename finding portion into its own function, and in that function
> only scans the directory once instead of twice.
Applied, along with some further hacking to reduce the #ifdef clutter
by providing palloc substitute routines. I checked it still works on
Unix, would you check I didn't break the Windows cases?
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера