aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/access')
-rw-r--r--src/backend/access/common/detoast.c4
-rw-r--r--src/backend/access/nbtree/nbtsplitloc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/common/detoast.c b/src/backend/access/common/detoast.c
index b25ca6810bc..f752ac7bbc9 100644
--- a/src/backend/access/common/detoast.c
+++ b/src/backend/access/common/detoast.c
@@ -501,8 +501,8 @@ toast_fetch_datum(struct varlena *attr)
* in the toast relation
*
* Note that this function supports non-compressed external datums
- * and compressed external datums (in which case the requrested slice
- * has to be a prefix, i.e. sliceoffset has to be 0).
+ * and compressed external datums (in which case the requested slice
+ * has to be a prefix, i.e. sliceoffset has to be 0).
* ----------
*/
static struct varlena *
diff --git a/src/backend/access/nbtree/nbtsplitloc.c b/src/backend/access/nbtree/nbtsplitloc.c
index 1c1029b6c4d..a04d4e25d69 100644
--- a/src/backend/access/nbtree/nbtsplitloc.c
+++ b/src/backend/access/nbtree/nbtsplitloc.c
@@ -814,7 +814,7 @@ _bt_bestsplitloc(FindSplitData *state, int perfectpenalty,
final->firstoldonright < state->newitemoff + MAX_LEAF_INTERVAL)
{
/*
- * Avoid the problem by peforming a 50:50 split when the new item is
+ * Avoid the problem by performing a 50:50 split when the new item is
* just to the right of the would-be "many duplicates" split point.
*/
final = &state->splits[0];