Simple table of contents for a shared memory segment.
authorRobert Haas <rhaas@postgresql.org>
Tue, 14 Jan 2014 17:18:58 +0000 (12:18 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 14 Jan 2014 17:18:58 +0000 (12:18 -0500)
commit6ddd5137b26c64360b86ea4174f21362df4f167a
tree639330deaf2712a1ba9ccdf30261015846a6d514
parent05ff5062da5fb4b0c950260ed12af0ae5d8932a4
Simple table of contents for a shared memory segment.

This interface is intended to make it simple to divide a dynamic shared
memory segment into different regions with distinct purposes.  It
therefore serves much the same purpose that ShmemIndex accomplishes for
the main shared memory segment, but it is intended to be more
lightweight.

Patch by me.  Review by Andres Freund.
src/backend/storage/ipc/Makefile
src/backend/storage/ipc/shm_toc.c [new file with mode: 0644]
src/include/storage/shm_toc.h [new file with mode: 0644]