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

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make the win32 shared memory code try 10 times instead of one if
Date: 2009-05-05 09:48:53
Message-ID: 20090505094853.7361475331D@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/backend/port:
win32_shmem.c (r1.4.2.3 -> r1.4.2.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/win32_shmem.c?r1=1.4.2.3&r2=1.4.2.4)

Browse pgsql-committers by date

  From Date Subject
Next Message User Bmomjian 2009-05-05 13:59:15 pg-migrator - pg_migrator: Improve install instructions, stamp alpha 1
Previous Message Magnus Hagander 2009-05-05 09:48:52 pgsql: Make the win32 shared memory code try 10 times instead of one if