Re: Win32 shmem - Mailing list pgsql-patches

From Tom Lane
Subject Re: Win32 shmem
Date
Msg-id 14701.1174407165@sss.pgh.pa.us
Whole thread Raw
In response to Re: Win32 shmem  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Win32 shmem
List 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 by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Win32 shmem
Next
From: Bruce Momjian
Date:
Subject: Re: Fix race condition in size functions