Re: Shared memory and processes

From: <david(at)andl(dot)org>
To:
Cc: "'PostgreSQL mailing lists'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Shared memory and processes
Date: 2016-04-28 03:24:12
Message-ID: 007401d1a0fd$710ca840$5325f8c0$@andl.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> From: Michael Paquier [mailto:michael(dot)paquier(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-04-28 03:38:57 Re: pgindent
Previous Message david 2016-04-28 03:20:33 Re: Shared memory and processes