summaryrefslogtreecommitdiff
path: root/src/include/storage/dsm.h
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:44:22 -0400
commit1c49dae165bcee69bf3327d6ae20271d82cdf6bf (patch)
treefa7ebd12791923df8a237d615c960b28507a3596 /src/include/storage/dsm.h
parentae3eb9b8ef5638610da05038e40229d4f4e5c1fd (diff)
"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/include/storage/dsm.h')
-rw-r--r--src/include/storage/dsm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/storage/dsm.h b/src/include/storage/dsm.h
index 1d0110d4b2f..a83b35fd664 100644
--- a/src/include/storage/dsm.h
+++ b/src/include/storage/dsm.h
@@ -36,8 +36,8 @@ extern void *dsm_remap(dsm_segment *seg);
extern void dsm_detach(dsm_segment *seg);
/* Resource management functions. */
-extern void dsm_keep_mapping(dsm_segment *seg);
-extern void dsm_keep_segment(dsm_segment *seg);
+extern void dsm_pin_mapping(dsm_segment *seg);
+extern void dsm_pin_segment(dsm_segment *seg);
extern dsm_segment *dsm_find_mapping(dsm_handle h);
/* Informational functions. */