On Wed, 20 Mar 2019 10:53:07 -0700, inverasln wrote:
> The question now is to how to get that to be not included if we compile
> postgres.
I have looked into that in some more detail, and here is what you can do:
- Edit "src/backend/port/sysv_shmem.c" and remove the three lines
#ifndef EXEC_BACKEND
#define USE_ANONYMOUS_SHMEM
#endif
Then PostgreSQL will be built using System V shared memory.
- Wait for PostgreSQL v12.
Commit f1bebef60ec8f557324cd3bfc1671da1318de968 has introduced a
configuration parameter "shared_memory_type" that you can set to
"sysv" to use System V shared memory.
PostgreSQL v12 is due this fall.