mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Fix spelling errors and typos in comments
Author: Daniel Gustafsson <daniel@yesql.se>
This commit is contained in:
@ -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)
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user