pgsql: Make the win32 shared memory code try 10 times instead of one if - Mailing list pgsql-committers

From mha@postgresql.org (Magnus Hagander)
Subject pgsql: Make the win32 shared memory code try 10 times instead of one if
Date
Msg-id 20090505094852.0423675331D@cvs.postgresql.org
Whole thread Raw
List 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.

Modified Files:
--------------
    pgsql/src/backend/port:
        win32_shmem.c (r1.8 -> r1.9)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/win32_shmem.c?r1=1.8&r2=1.9)

pgsql-committers by date:

Previous
From: fxjr@pgfoundry.org (User Fxjr)
Date:
Subject: npgsql - Npgsql2: Added some tests based on Forums.
Next
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Make the win32 shared memory code try 10 times instead of one if