Обсуждение: pgsql: Simple table of contents for a shared memory segment.

Поиск
Список
Период
Сортировка

pgsql: Simple table of contents for a shared memory segment.

От
Robert Haas
Дата:
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(-)