From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Simple table of contents for a shared memory segment. |
Date: | 2014-01-14 17:22:33 |
Message-ID: | E1W37hB-0004Mv-6f@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2014-01-14 17:23:53 | pgsql: Single-reader, single-writer, lightweight shared message queue. |
Previous Message | Robert Haas | 2014-01-13 19:55:36 | pgsql: Code improvements for ALTER SYSTEM .. SET. |