Re: Shared memory and processes - Mailing list pgsql-hackers

From
Subject Re: Shared memory and processes
Date
Msg-id 007401d1a0fd$710ca840$5325f8c0$@andl.org
Whole thread Raw
In response to Re: Shared memory and processes  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Shared memory and processes  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
> From: Michael Paquier [mailto:michael.paquier@gmail.com]
> > 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.

Thanks -- looks interesting.

> 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.

Yes, that is useful. I'm curious why the documentation (F.41) was removed between 9.4 and 9.5 -- is there a problem?

Regards
David M Bennett FACS

Andl - A New Database Language - andl.org








pgsql-hackers by date:

Previous
From:
Date:
Subject: Re: Shared memory and processes
Next
From: Robert Haas
Date:
Subject: Re: pgindent