Re: Win32 shmem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Win32 shmem
Дата
Msg-id 14701.1174407165@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Win32 shmem  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Win32 shmem  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-patches
Magnus Hagander <magnus@hagander.net> writes:
>>> I think you do still need the on_shmem_exit detach callback.
>>
>> Ok, will look into that. Haven't tested that scenario.

> That was indeed so. Added in new version, attached.

If it handles the restart-after-backend-crash scenario and correctly
locks out starting a fresh postmaster (after postmaster crash) until
all old backends are gone, then it's probably ready to commit for
more-widespread testing.

I note that sysv_shmem contains some #ifdef WIN32 and #ifdef __CYGWIN__
kluges; will it now be possible to remove those, or will the Cygwin
build still be using that code?

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Win32 shmem
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Fix race condition in size functions