Re: Remove sort files
| От | Peter Eisentraut |
|---|---|
| Тема | Re: Remove sort files |
| Дата | |
| Msg-id | Pine.LNX.4.30.0105231702210.757-100000@peter.localdomain обсуждение исходный текст |
| Ответ на | Remove sort files (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: Remove sort files
Re: Remove sort files |
| Список | pgsql-patches |
Bruce Momjian writes:
> 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.
'find' is not in the portable subset of shell utilities, AFAIK. If you do
put them into a separate directory you could use "rm -rf %s" on that
directory.
Why don't we put the sort files into /tmp and let the system figure out
how to get rid of them?
--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter
В списке pgsql-patches по дате отправления: