aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/access')
-rw-r--r--src/backend/access/common/session.c2
-rw-r--r--src/backend/access/nbtree/nbtinsert.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/common/session.c b/src/backend/access/common/session.c
index 617c3e1e509..ffa7432a3c2 100644
--- a/src/backend/access/common/session.c
+++ b/src/backend/access/common/session.c
@@ -60,7 +60,7 @@ InitializeSession(void)
* Initialize the per-session DSM segment if it isn't already initialized, and
* return its handle so that worker processes can attach to it.
*
- * Unlike the per-context DSM segment, this segement and its contents are
+ * Unlike the per-context DSM segment, this segment and its contents are
* reused for future parallel queries.
*
* Return DSM_HANDLE_INVALID if a segment can't be allocated due to lack of
diff --git a/src/backend/access/nbtree/nbtinsert.c b/src/backend/access/nbtree/nbtinsert.c
index e85abcfd72d..40111990c5e 100644
--- a/src/backend/access/nbtree/nbtinsert.c
+++ b/src/backend/access/nbtree/nbtinsert.c
@@ -187,9 +187,9 @@ top:
_bt_relbuf(rel, buf);
/*
- * Something did not workout. Just forget about the cached
+ * Something did not work out. Just forget about the cached
* block and follow the normal path. It might be set again if
- * the conditions are favourble.
+ * the conditions are favourable.
*/
RelationSetTargetBlock(rel, InvalidBlockNumber);
}