Adjust rename on Win32 to only link to temp name while holding lock,
Bruce Momjian <bruce@momjian.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |