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-07-24 20:12:42
Message-ID: 20090724201242.9DD1775331E@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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.

Modified Files:
--------------
pgsql/src/backend/port:
win32_shmem.c (r1.11 -> r1.12)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/win32_shmem.c?r1=1.11&r2=1.12)
pgsql/src/backend/postmaster:
postmaster.c (r1.584 -> r1.585)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c?r1=1.584&r2=1.585)
pgsql/src/include/port:
win32.h (r1.88 -> r1.89)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/port/win32.h?r1=1.88&r2=1.89)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-07-24 21:08:42 pgsql: Assorted minor refactoring in EXPLAIN.
Previous Message Peter Eisentraut 2009-07-24 19:54:36 pgsql: Fix the fix for the gist error message

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2009-07-24 20:13:17 Re: [PATCH] "could not reattach to shared memory" on Windows
Previous Message Tom Lane 2009-07-24 20:02:11 Re: explain refactoring v4