"Pin", rather than "keep", dynamic shared memory mappings and segments.
Robert Haas <rhaas@postgresql.org>
"Pin", rather than "keep", dynamic shared memory mappings and segments. Nobody seemed concerned about this naming when it originally went in, but there's a pending patch that implements the opposite of dsm_keep_mapping, and the term "unkeep" was judged unpalatable. "unpin" has existing precedent in the PostgreSQL code base, and the English language, so use this terminology instead. Per discussion, back-patch to 9.4.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/ipc/dsm.c | modified | +5 −5 |
| src/backend/storage/ipc/dsm_impl.c | modified | +1 −1 |
| src/include/storage/dsm.h | modified | +2 −2 |
| src/include/storage/dsm_impl.h | modified | +1 −1 |