]> granicus.if.org Git - postgresql/commit
Reserve the shared memory region during backend startup on Windows, so
authorMagnus Hagander <magnus@hagander.net>
Tue, 11 Aug 2009 11:51:20 +0000 (11:51 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 11 Aug 2009 11:51:20 +0000 (11:51 +0000)
commit0a427ab0722fa7d04cec2216b2afab3d5c09116e
tree9e380bc571deffca7c7cfc6774b10d01d269464a
parent1d6ddebd823f17273e5de8d48b513733a5969644
Reserve the shared memory region during backend startup on Windows, so
that memory allocated by starting third party DLLs doesn't end up
conflicting with it.

Hopefully this solves the long-time issue with "could not reattach
to shared memory" errors on Win32.

Patch from Tsutomu Yamada and me, based on idea from Trevor Talbot.
src/backend/port/win32_shmem.c
src/backend/postmaster/postmaster.c
src/include/port/win32.h