Re: Remove sort files
От | Michael Richards |
---|---|
Тема | Re: Remove sort files |
Дата | |
Msg-id | 3B0B08E6.000121.68010@frodo.searchcanada.ca обсуждение исходный текст |
Ответ на | Remove sort files (Bruce Momjian <pgman@candle.pha.pa.us>) |
Ответы |
Re: Remove sort files
Re: Remove sort files |
Список | pgsql-patches |
> The only unusual part is the use of system("find...rm...") to > remove the files in pg_sorttemp. Seemed cleaner than doing fancy > directory walking code in C. Should this figure out and use a path to the find command? Unless postgres sets CWD, is it possible as-is to coerce it into rming some files you did not intend to have rm'd? I didn't have/spend time looking at it with a fine toothcomb, but usually calling find and rm without an explicit path is a Bad Thing(tm). -Michael _________________________________________________________________ http://fastmail.ca/ - Fast Free Web Email for Canadians
В списке pgsql-patches по дате отправления: