Re: Shared memory and processes

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Shared memory and processes
Дата
Msg-id CAB7nPqQfLXgN2GYUSWrw0RPiE7HNb6nd1_E+T15m5bLpFc58rg@mail.gmail.com
обсуждение исходный текст
Ответ на Shared memory and processes  (<david@andl.org>)
Ответы Re: Shared memory and processes  (<david@andl.org>)
Список pgsql-hackers
On Thu, Apr 28, 2016 at 9:56 AM,  <david@andl.org> wrote:
> Does Postgres provide a convenient way for one process to pass data to
> another using shared memory?

If you are talking about enabling the use of shared memory by 3rd-part
plugins or modules, there is shmem_startup_hook for this purpose.
Another thing that you may want to look at is DSM (dynamic shared
memory), with its interface in dsm.h. An example of use is in
src/test/modules/test_shm_mq.
-- 
Michael



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: EXPLAIN VERBOSE with parallel Aggregate
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Fix for OpenSSL error queue bug