On Thu, Apr 28, 2016 at 12:24 PM, wrote:
>> From: Michael Paquier [mailto:michael.paqu...@gmail.com]
>> 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
> From: Michael Paquier [mailto:michael.paqu...@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 th
> From: Thomas Munro [mailto:thomas.mu...@enterprisedb.com]
> > Does Postgres provide a convenient way for one process to pass data to
> > another using shared memory?
>
> 1. Look at ShmemInitStruct, ShmemInitHash (as in hash table), ShmemInitQueue
> in storage/shmem.h. These use memory that is
On Thu, Apr 28, 2016 at 9:56 AM, 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 t
On Thu, Apr 28, 2016 at 12:56 PM, wrote:
> Does Postgres provide a convenient way for one process to pass data to
> another using shared memory?
1. Look at ShmemInitStruct, ShmemInitHash (as in hash table),
ShmemInitQueue in storage/shmem.h. These use memory that is mapped at
the same address
Does Postgres provide a convenient way for one process to pass data to another
using shared memory?
Regards
David M Bennett FACS
_
Andl - A New Database Language - andl.org