aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-06-03 13:44:03 +0900
committerMichael Paquier <michael@paquier.xyz>2019-06-03 13:44:03 +0900
commit1fb6f62a84041b668fd9e85a2f33bb3a0fd28fdc (patch)
treebcf6bac3dc4d8e1ce07b6d883b0e30990025f834 /src/backend/access
parent0240a00fbd4fd14f577edf8d36a032237fd0b9cb (diff)
downloadpostgresql-1fb6f62a84041b668fd9e85a2f33bb3a0fd28fdc.tar.gz
postgresql-1fb6f62a84041b668fd9e85a2f33bb3a0fd28fdc.zip
Fix typos in various places
Author: Andrea Gelmini Reviewed-by: Michael Paquier, Justin Pryzby Discussion: https://postgr.es/m/20190528181718.GA39034@glet
Diffstat (limited to 'src/backend/access')
-rw-r--r--src/backend/access/gist/gist.c2
-rw-r--r--src/backend/access/heap/heapam_handler.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c
index 45c00aaa87a..470b121e7da 100644
--- a/src/backend/access/gist/gist.c
+++ b/src/backend/access/gist/gist.c
@@ -1533,7 +1533,7 @@ initGISTstate(Relation index)
* The truncated tupdesc for non-leaf index tuples, which doesn't contain
* the INCLUDE attributes.
*
- * It is used to form tuples during tuple adjustement and page split.
+ * It is used to form tuples during tuple adjustment and page split.
* B-tree creates shortened tuple descriptor for every truncated tuple,
* because it is doing this less often: it does not have to form truncated
* tuples during page split. Also, B-tree is not adjusting tuples on
diff --git a/src/backend/access/heap/heapam_handler.c b/src/backend/access/heap/heapam_handler.c
index a4a28e88ec9..92ea1d163e6 100644
--- a/src/backend/access/heap/heapam_handler.c
+++ b/src/backend/access/heap/heapam_handler.c
@@ -2362,7 +2362,7 @@ heapam_scan_sample_next_block(TableScanDesc scan, SampleScanState *scanstate)
if (blockno >= hscan->rs_nblocks)
{
- /* wrap to begining of rel, might not have started at 0 */
+ /* wrap to beginning of rel, might not have started at 0 */
blockno = 0;
}