]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Make the win32 shared memory code try 10 times instead of one if
authorMagnus Hagander <magnus@hagander.net>
Tue, 5 May 2009 09:48:53 +0000 (09:48 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 5 May 2009 09:48:53 +0000 (09:48 +0000)
commit6225c80d39602e2bab2524ae0a5321f50c2dcee1
treefcf1120bef44e7fa2d69ddee894c711877c3e69a
parent8f1555e690132a97ac52f1c07a2f943e59d98fd6
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.
src/backend/port/win32_shmem.c