Re: rmtree() failure on Windows - Mailing list pgsql-hackers

From Tom Lane
Subject Re: rmtree() failure on Windows
Date
Msg-id 20850.1098892835@sss.pgh.pa.us
Whole thread Raw
In response to Re: rmtree() failure on Windows  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> You misunderstood. The 300 secs is not in waiting for unlink() to 
> return, it is in waiting for its effects to be seen by rmdir() (i.e. for 
> the entry to actually be cleared from the directory). unlink() is 
> returning very quickly. If the bgwriter is disabled then the entries are 
> cleared very quickly too (i.e. before we even get to rmdir())

More specifically, 300 seconds is the most time you'd have to wait for a
checkpoint to occur (with default checkpoint settings) ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: rmtree() failure on Windows
Next
From: "Magnus Hagander"
Date:
Subject: Re: src/timezone/pgtz __imp__my_exec_path