Make the win32 shared memory code try 10 times instead of one if

Magnus Hagander <magnus@hagander.net>

Commit: 6225c80d39602e2bab2524ae0a5321f50c2dcee1
Author: Magnus Hagander <magnus@hagander.net>
Date: 2009-05-05T09:48:53Z
Releases: 8.3.8
Make the win32 shared memory code try 10 times instead of one if
it fails because the shared memory segment already exists. This
means it can take up to 10 seconds before it reports the error
if it *does* exist, but hopefully it will make the system capable
of restarting even when the server is under high load.

Files

PathChange+/−
src/backend/port/win32_shmem.c modified +34 −34