diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-10-30 10:03:00 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-10-30 10:03:00 +0900 |
commit | 6ca86bb7e9c72f428c7f4e3f2b48dd6c4084429c (patch) | |
tree | e06d7478c2cc96f89e0f6f00452bea8e0177b93e /src/backend/access | |
parent | 517bf2d9107f0d45c5fea2e3904e8d3b10ce6bb2 (diff) | |
download | postgresql-6ca86bb7e9c72f428c7f4e3f2b48dd6c4084429c.tar.gz |
Fix typos in the code
Author: Vignesh C
Reviewed-by: Dilip Kumar, Michael Paquier
Discussion: https://postgr.es/m/CALDaNm0ni+GAOe4+fbXiOxNrVudajMYmhJFtXGX-zBPoN8ixhw@mail.gmail.com
Diffstat (limited to 'src/backend/access')
-rw-r--r-- | src/backend/access/common/detoast.c | 4 | ||||
-rw-r--r-- | src/backend/access/nbtree/nbtsplitloc.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/common/detoast.c b/src/backend/access/common/detoast.c index b25ca6810b..f752ac7bbc 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 1c1029b6c4..a04d4e25d6 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]; |