Обсуждение: pgsql: Make the win32 shared memory code try 10 times instead of one if

Поиск
Список
Период
Сортировка

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

От
mha@postgresql.org (Magnus Hagander)
Дата:
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)