pgsql: Reserve the shared memory region during backend startup on

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Reserve the shared memory region during backend startup on
Date: 2009-08-11 11:51:22
Message-ID: 20090811115122.960B375331E@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
pgsql/src/backend/port:
win32_shmem.c (r1.11 -> r1.11.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/win32_shmem.c?r1=1.11&r2=1.11.2.1)
pgsql/src/include/port:
win32.h (r1.88 -> r1.88.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/port/win32.h?r1=1.88&r2=1.88.2.1)
pgsql/src/backend/postmaster:
postmaster.c (r1.583.2.2 -> r1.583.2.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c?r1=1.583.2.2&r2=1.583.2.3)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2009-08-11 12:02:58 pgsql: Remove tab in SGML.
Previous Message Magnus Hagander 2009-08-11 11:51:20 pgsql: Reserve the shared memory region during backend startup on