Skip site navigation (1) Skip section navigation (2)

Re: [PATCHES] fork/exec patch

From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "PostgreSQL Win32 port list" <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: [PATCHES] fork/exec patch
Date: 2003-12-15 21:28:34
Message-ID: 303E00EBDD07B943924382E153890E5434AA25@cuthbert.rcsinc.local (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers-win32
Tom Lane wrote:
> The postmaster's dependence on the contents of shared memory should
> ideally be zero (and it is zero, or nearly so, at the moment).
> Otherwise a backend crash that clobbers shared memory poses the risk
> taking down the postmaster as well.  We can't go in that direction.

Just a thought: win32 memory mapped files can be designated read only at
the time of the 'mapping'.  This would guarantee the memory in question
would not be clobbered by anybody but the postmaster.  Also, the MMF for
the data in question could be kept separate from the general pool by
giving it a separate filename.  This is a fairly elegant approach from
win32 point of view.  Not sure if you are trying to carry this to the
unix side, which of course would make this moot.


pgsql-hackers-win32 by date

Next:From: Merlin MoncureDate: 2003-12-15 21:55:11
Subject: Re: [HACKERS] [PATCHES] fork/exec patch
Previous:From: Bruce MomjianDate: 2003-12-15 21:21:07
Subject: Re: [HACKERS] [PATCHES] fork/exec patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group