Fix typos.

Author: David Rowley
Discussion: https://postgr.es/m/CAKJS1f8du35u5DprpykWvgNEScxapbWYJdHq%2Bz06Wj3Y2KFPbw%40mail.gmail.com
This commit is contained in:
Thomas Munro 2018-08-27 09:32:59 +12:00
parent bff84a547d
commit 18e586741b
3 changed files with 9 additions and 9 deletions

View File

@ -1428,7 +1428,7 @@ gen_prune_steps_from_opexps(PartitionScheme part_scheme,
/* /*
* For each clause for the "last" column, after appending * For each clause for the "last" column, after appending
* the clause's own expression to the 'prefix', we'll * the clause's own expression to the 'prefix', we'll
* generate one step using the so generated vector and and * generate one step using the so generated vector and
* assign = as its strategy. Actually, 'prefix' might * assign = as its strategy. Actually, 'prefix' might
* contain multiple clauses for the same key, in which * contain multiple clauses for the same key, in which
* case, we must generate steps for various combinations * case, we must generate steps for various combinations
@ -2828,9 +2828,9 @@ get_matching_range_bounds(PartitionPruneContext *context,
} }
/* /*
* Skip a gap. See the above comment about how we decide whether or or * Skip a gap. See the above comment about how we decide whether or not
* not to scan the default partition based whether the datum that will * to scan the default partition based whether the datum that will become
* become the maximum datum is finite or not. * the maximum datum is finite or not.
*/ */
if (maxoff >= 1 && partindices[maxoff] < 0) if (maxoff >= 1 && partindices[maxoff] < 0)
{ {

View File

@ -395,7 +395,7 @@ statext_dependencies_build(int numrows, HeapTuple *rows, Bitmapset *attrs,
degree = dependency_degree(numrows, rows, k, dependency, stats, attrs); degree = dependency_degree(numrows, rows, k, dependency, stats, attrs);
/* /*
* if the dependency seems entirely invalid, don't store it it * if the dependency seems entirely invalid, don't store it
*/ */
if (degree == 0.0) if (degree == 0.0)
continue; continue;

View File

@ -35,10 +35,10 @@
* *
* We are using traversal values provided by SP-GiST to calculate and * We are using traversal values provided by SP-GiST to calculate and
* to store the bounds of the quadrants, while traversing into the tree. * to store the bounds of the quadrants, while traversing into the tree.
* Traversal value has all the boundaries in the 4D space, and is is * Traversal value has all the boundaries in the 4D space, and is capable
* capable of transferring the required boundaries to the following * of transferring the required boundaries to the following traversal
* traversal values. In conclusion, three things are necessary * values. In conclusion, three things are necessary to calculate the
* to calculate the next traversal value: * next traversal value:
* *
* (1) the traversal value of the parent * (1) the traversal value of the parent
* (2) the quadrant of the current node * (2) the quadrant of the current node