Re: BUG #3495: PostgreSQL does not use POSIX SHM or SEM in place of SYSV equivalents

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3495: PostgreSQL does not use POSIX SHM or SEM in place of SYSV equivalents
Дата
Msg-id 16662.1185658178@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #3495: PostgreSQL does not use POSIX SHM or SEM in place of SYSV equivalents  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список pgsql-bugs
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> Roger Leigh wrote:
>> PostgreSQL is using the old SYSV shared memory and semaphores, as evidenced
>> by ipcs:

> A patch to do that submitted was submitted in Spring, but it was not
> accepted for 8.3 because there was some issues with it.

More strongly: it never will be accepted because the POSIX API doesn't
offer the features we need.

You can use POSIX semaphores if you choose (there are compile options
for that), but experience to date says that that degrades performance.
POSIX shared memory is simply not happening.

            regards, tom lane

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #3495: PostgreSQL does not use POSIX SHM or SEM in place of SYSV equivalents
Следующее
От: Michał Niklas
Дата:
Сообщение: Re: BUG #3493: Cannot find data with = operator