Adjust rename on Win32 to only link to temp name while holding lock,

Bruce Momjian <bruce@momjian.us>

Commit: d9d2ca8e8ebb1b1a593d3fe3942370c5d035c990
Author: Bruce Momjian <bruce@momjian.us>
Date: 2004-02-02T00:17:23Z
Releases: 8.0.0
Adjust rename on Win32 to only link to temp name while holding lock,
then release locks and loop over renaming to active file name.

Files

PathChange+/−
src/backend/commands/user.c modified +34 −2
src/backend/utils/cache/relcache.c modified +14 −19
src/backend/utils/misc/guc.c modified +5 −2
src/include/port.h modified +3 −3
src/port/dirmod.c modified +11 −1