Re: [PATCHES] fork/exec patch

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: [PATCHES] fork/exec patch
Дата
Msg-id 303E00EBDD07B943924382E153890E5434AA25@cuthbert.rcsinc.local
обсуждение исходный текст
Список 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
of
> 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.

Regards,
Merlin

В списке pgsql-hackers-win32 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Nightly snapshots
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: [HACKERS] [PATCHES] fork/exec patch