]> granicus.if.org Git - postgresql/commit
Reserve the shared memory region during backend startup on Windows, so
authorMagnus Hagander <magnus@hagander.net>
Fri, 24 Jul 2009 20:12:42 +0000 (20:12 +0000)
committerMagnus Hagander <magnus@hagander.net>
Fri, 24 Jul 2009 20:12:42 +0000 (20:12 +0000)
commita7e587863cab80b8896593f20b41e53d65155932
treef9b5ab9e5e7d58783ab60233a43862075b248d1c
parent5e22994127bd67f268c0d9622b4e3d103c18a15b
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