pgsql: Fix rmtree() so that it keeps going after failure to remove any

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix rmtree() so that it keeps going after failure to remove any
Date: 2008-04-18 17:05:53
Message-ID: 20080418170553.443637559CC@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/backend/commands:
dbcommands.c (r1.204.2.2 -> r1.204.2.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c?r1=1.204.2.2&r2=1.204.2.3)
pgsql/src/include:
port.h (r1.116.2.4 -> r1.116.2.5)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/port.h?r1=1.116.2.4&r2=1.116.2.5)
pgsql/src/port:
dirmod.c (r1.51.2.3 -> r1.51.2.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/dirmod.c?r1=1.51.2.3&r2=1.51.2.4)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2008-04-18 18:43:09 pgsql: Modify the float4 datatype to be pass-by-val.
Previous Message Tom Lane 2008-04-18 17:05:45 pgsql: Fix rmtree() so that it keeps going after failure to remove any