Make the win32 shared memory code try 10 times instead of one if
Magnus Hagander <magnus@hagander.net>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/port/win32_shmem.c | modified | +34 −34 |