Re: Feature: POSIX Shared memory support

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Feature: POSIX Shared memory support
Дата
Msg-id 596.1170821331@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Feature: POSIX Shared memory support  ("Takayuki Tsunakawa" <tsunakawa.takay@jp.fujitsu.com>)
Ответы Re: Feature: POSIX Shared memory support  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-patches
"Takayuki Tsunakawa" <tsunakawa.takay@jp.fujitsu.com> writes:
> From: "Tom Lane" <tgl@sss.pgh.pa.us>
>> the POSIX API provides no way to detect whether anyone else is
>> attached to the segment.  Not being able to tell that is a tremendous
>> robustness hit for us.

> How is this done on Windows?  Is it possible to count the number of
> processes that attach a shared memory?

AFAIK the Windows port is simply wrong/insecure on this point --- it's
one of the reasons you'll never see me recommending Windows as the OS
for a production Postgres server.

            regards, tom lane

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

Предыдущее
От: Chris Marcellino
Дата:
Сообщение: Re: Feature: POSIX Shared memory support
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Feature: POSIX Shared memory support