pgsql: Simple table of contents for a shared memory segment. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Simple table of contents for a shared memory segment.
Date
Msg-id E1W37hB-0004Mv-6f@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6ddd5137b26c64360b86ea4174f21362df4f167a

Modified Files
--------------
src/backend/storage/ipc/Makefile  |    2 +-
src/backend/storage/ipc/shm_toc.c |  246 +++++++++++++++++++++++++++++++++++++
src/include/storage/shm_toc.h     |   57 +++++++++
3 files changed, 304 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Code improvements for ALTER SYSTEM .. SET.
Next
From: Robert Haas
Date:
Subject: pgsql: Single-reader, single-writer, lightweight shared message queue.