pgsql: Extend dsm API with a new function dsm_unpin_mapping.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Extend dsm API with a new function dsm_unpin_mapping.
Date: 2014-10-30 19:02:34
Message-ID: E1XjuzS-0005SM-EC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Extend dsm API with a new function dsm_unpin_mapping.

This reassociates a dynamic shared memory handle previous passed to
dsm_pin_mapping with the current resource owner, so that it will be
cleaned up at the end of the current query.

Patch by me. Review of the function name by Andres Freund, Amit
Kapila, Jim Nasby, Petr Jelinek, and Álvaro Herrera.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f7102b04638a882b38cbba7670471a073a939865

Modified Files
--------------
src/backend/storage/ipc/dsm.c | 18 ++++++++++++++++++
src/include/storage/dsm.h | 1 +
2 files changed, 19 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2014-10-31 02:57:21 pgsql: doc: Wording and formatting improvements in new logical decoding
Previous Message Tom Lane 2014-10-30 17:04:23 pgsql: Test IsInTransactionChain, not IsTransactionBlock, in vac_update