diff options
Diffstat (limited to 'src/backend/storage/ipc')
-rw-r--r-- | src/backend/storage/ipc/dsm.c | 4 | ||||
-rw-r--r-- | src/backend/storage/ipc/latch.c | 2 |
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. |