aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/ipc/dsm_impl.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2014-10-30 11:35:55 -0400
committerRobert Haas <rhaas@postgresql.org>2014-10-30 11:35:55 -0400
commit6057c212f3e783c45e050a78d070edf3e5f069f0 (patch)
tree9b5c099b31ca9416a6c83b8accbed134c10fb5b5 /src/backend/storage/ipc/dsm_impl.c
parent7912f9b7dc9e2d3f6cd81892ef6aa797578e9f06 (diff)
downloadpostgresql-6057c212f3e783c45e050a78d070edf3e5f069f0.tar.gz
postgresql-6057c212f3e783c45e050a78d070edf3e5f069f0.zip
"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.
Diffstat (limited to 'src/backend/storage/ipc/dsm_impl.c')
-rw-r--r--src/backend/storage/ipc/dsm_impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/ipc/dsm_impl.c b/src/backend/storage/ipc/dsm_impl.c
index af637dc999d..befe207f460 100644
--- a/src/backend/storage/ipc/dsm_impl.c
+++ b/src/backend/storage/ipc/dsm_impl.c
@@ -996,7 +996,7 @@ dsm_impl_mmap(dsm_op op, dsm_handle handle, Size request_size,
* do anything to receive the handle; Windows transfers it automatically.
*/
void
-dsm_impl_keep_segment(dsm_handle handle, void *impl_private)
+dsm_impl_pin_segment(dsm_handle handle, void *impl_private)
{
switch (dynamic_shared_memory_type)
{