Fix rmtree() so that it keeps going after failure to remove any individual
Tom Lane <tgl@sss.pgh.pa.us>
Fix rmtree() so that it keeps going after failure to remove any individual file; the idea is that we should clean up as much as we can, even if there's some problem removing one file. Make the error messages a bit less misleading, too. In passing, const-ify function arguments.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/dbcommands.c | modified | +4 −4 |
| src/include/port.h | modified | +3 −3 |
| src/port/dirmod.c | modified | +46 −31 |