Re: DROP DATABASE vs patch to not remove files right away - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: DROP DATABASE vs patch to not remove files right away
Date
Msg-id 20080416005025.GJ4429@alvh.no-ip.org
Whole thread Raw
In response to DROP DATABASE vs patch to not remove files right away  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: DROP DATABASE vs patch to not remove files right away  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:

> I think that it should be coded
> to ignore ENOENT the same as the bgwriter does, and that it should press
> on and keep trying to delete things even if it gets a failure.

Perhaps, if it gets ENOENT, record this fact -- and after rmtree
returns, retry the whole thing.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_terminate_backend() issues
Next
From: Tom Lane
Date:
Subject: Improving planner variable handling