Change Windows rename and unlink substitutes so that they time out after

Tom Lane <tgl@sss.pgh.pa.us>

Commit: dcbdf9b1d46dc9f95c55f78da4754ded4f0cd17d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-11-08T20:12:05Z
Releases: 8.2.0
Change Windows rename and unlink substitutes so that they time out after
30 seconds instead of retrying forever.  Also modify xlog.c so that if
it fails to rename an old xlog segment up to a future slot, it will
unlink the segment instead.  Per discussion of bug #2712, in which it
became apparent that Windows can handle unlinking a file that's being
held open, but not renaming it.

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +19 −2
src/port/dirmod.c modified +20 −48