Allow dynamic allocation of shared memory segments.
Robert Haas <rhaas@postgresql.org>
Allow dynamic allocation of shared memory segments. Patch by myself and Amit Kapila. Design help from Noah Misch. Review by Andres Freund.
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +176 −1 |
| configure.in | modified | +3 −1 |
| doc/src/sgml/config.sgml | modified | +26 −0 |
| src/backend/port/sysv_shmem.c | modified | +1 −25 |
| src/backend/storage/ipc/dsm.c | added | +972 −0 |
| src/backend/storage/ipc/dsm_impl.c | added | +990 −0 |
| src/backend/storage/ipc/ipci.c | modified | +5 −0 |
| src/backend/storage/ipc/Makefile | modified | +2 −2 |
| src/backend/utils/misc/guc.c | modified | +12 −0 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +7 −0 |
| src/backend/utils/resowner/resowner.c | modified | +109 −0 |
| src/bin/initdb/initdb.c | modified | +1 −0 |
| src/include/pg_config.h.in | modified | +3 −0 |
| src/include/portability/mem.h | added | +40 −0 |
| src/include/storage/dsm.h | added | +39 −0 |
| src/include/storage/dsm_impl.h | added | +75 −0 |
| src/include/storage/lwlock.h | modified | +1 −0 |
| src/include/utils/resowner_private.h | modified | +8 −0 |