1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-24 00:23:06 +03:00

Fix inconsistencies and typos in the tree, take 11

This fixes various typos in docs and comments, and removes some orphaned
definitions.

Author: Alexander Lakhin
Discussion: https://postgr.es/m/5da8e325-c665-da95-21e0-c8a99ea61fbf@gmail.com
This commit is contained in:
Michael Paquier
2019-08-19 16:21:39 +09:00
parent 927f34ce8a
commit c96581abe4
48 changed files with 60 additions and 65 deletions

View File

@@ -742,8 +742,8 @@ FreePageBtreeConsolidate(FreePageManager *fpm, FreePageBtree *btp)
/*
* If we can fit our keys onto our left sibling's page, consolidate. In
* this case, we move our keys onto the other page rather than visca
* versa, to avoid having to adjust ancestor keys.
* this case, we move our keys onto the other page rather than vice versa,
* to avoid having to adjust ancestor keys.
*/
np = FreePageBtreeFindLeftSibling(base, btp);
if (np != NULL && btp->hdr.nused + np->hdr.nused <= max)