aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/ipc
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2018-11-02 13:56:16 +0100
committerMagnus Hagander <magnus@hagander.net>2018-11-02 13:56:52 +0100
commitfbec7459aa39da864ad1d578f044a21c3b3b057c (patch)
tree79d55688053fef8d9d63099f06f8eca154b5142e /src/backend/storage/ipc
parent8610c973ddf1cbf0befc1369d2cf0d56c0efcd0a (diff)
downloadpostgresql-fbec7459aa39da864ad1d578f044a21c3b3b057c.tar.gz
postgresql-fbec7459aa39da864ad1d578f044a21c3b3b057c.zip
Fix spelling errors and typos in comments
Author: Daniel Gustafsson <daniel@yesql.se>
Diffstat (limited to 'src/backend/storage/ipc')
-rw-r--r--src/backend/storage/ipc/dsm.c4
-rw-r--r--src/backend/storage/ipc/latch.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/storage/ipc/dsm.c b/src/backend/storage/ipc/dsm.c
index 9629f22f7af..d4bd6ef4490 100644
--- a/src/backend/storage/ipc/dsm.c
+++ b/src/backend/storage/ipc/dsm.c
@@ -429,7 +429,7 @@ dsm_set_control_handle(dsm_handle h)
* If there is a non-NULL CurrentResourceOwner, the new segment is associated
* with it and must be detached before the resource owner releases, or a
* warning will be logged. If CurrentResourceOwner is NULL, the segment
- * remains attached until explicitely detached or the session ends.
+ * remains attached until explicitly detached or the session ends.
* Creating with a NULL CurrentResourceOwner is equivalent to creating
* with a non-NULL CurrentResourceOwner and then calling dsm_pin_mapping.
*/
@@ -527,7 +527,7 @@ dsm_create(Size size, int flags)
* If there is a non-NULL CurrentResourceOwner, the attached segment is
* associated with it and must be detached before the resource owner releases,
* or a warning will be logged. Otherwise the segment remains attached until
- * explicitely detached or the session ends. See the note atop dsm_create().
+ * explicitly detached or the session ends. See the note atop dsm_create().
*/
dsm_segment *
dsm_attach(dsm_handle h)
diff --git a/src/backend/storage/ipc/latch.c b/src/backend/storage/ipc/latch.c
index f6dda9cc9ac..c129446f9c9 100644
--- a/src/backend/storage/ipc/latch.c
+++ b/src/backend/storage/ipc/latch.c
@@ -1030,7 +1030,7 @@ WaitEventSetWait(WaitEventSet *set, long timeout,
/*
* Wait using linux's epoll_wait(2).
*
- * This is the preferrable wait method, as several readiness notifications are
+ * This is the preferable wait method, as several readiness notifications are
* delivered, without having to iterate through all of set->events. The return
* epoll_event struct contain a pointer to our events, making association
* easy.