| От | Tom Lane |
|---|---|
| Тема | Re: windows shared memory error |
| Дата | |
| Msg-id | 26468.1241216656@sss.pgh.pa.us обсуждение |
| Ответ на | windows shared memory error (Andrew Dunstan <andrew@dunslane.net>) |
| Ответы |
Re: windows shared memory error
|
| Список | pgsql-hackers |
Andrew Dunstan <andrew@dunslane.net> writes:
> It strikes me that we really need to try reconnecting to the shared
> memory here several times, and maybe the backoff need to increase each
> time.
Adding a backoff would make the code significantly more complex, with
no gain that I can see. Just loop a few times around the
one-second-sleep-and-retry logic.
I concur with Greg's opinion that the need for a sleep here at all
is pretty fishy, but I doubt anyone really cares enough to find out
exactly what's happening (and it being Windows, there may be no better
solution anyway ...)
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера