mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Fix typos and duplicate words
This fixes various typos, duplicated words, and tiny bits of whitespace mainly in code comments but also in docs. Author: Daniel Gustafsson <daniel@yesql.se> Author: Heikki Linnakangas <hlinnaka@iki.fi> Author: Alexander Lakhin <exclusion@gmail.com> Author: David Rowley <dgrowleyml@gmail.com> Author: Nazir Bilal Yavuz <byavuz81@gmail.com> Discussion: https://postgr.es/m/3F577953-A29E-4722-98AD-2DA9EFF2CBB8@yesql.se
This commit is contained in:
@@ -5146,7 +5146,7 @@ get_partition_bound_spec(Oid partOid, RangeVar *name)
|
||||
* the first of new partitions) then lower bound of "spec" should be equal (or
|
||||
* greater than or equal in case defaultPart=true) to lower bound of split
|
||||
* partition. If last=true (this means that "spec" is the last of new
|
||||
* partitions) then upper bound of of "spec" should be equal (or less than or
|
||||
* partitions) then upper bound of "spec" should be equal (or less than or
|
||||
* equal in case defaultPart=true) to upper bound of split partition.
|
||||
*
|
||||
* parent: partitioned table
|
||||
@@ -5245,8 +5245,8 @@ check_partition_bounds_for_split_range(Relation parent,
|
||||
false, split_upper);
|
||||
|
||||
/*
|
||||
* Upper bound of of "spec" should be equal (or less than or equal
|
||||
* in case defaultPart=true) to upper bound of split partition.
|
||||
* Upper bound of "spec" should be equal (or less than or equal in
|
||||
* case defaultPart=true) to upper bound of split partition.
|
||||
*/
|
||||
if ((!defaultPart && cmpval) || (defaultPart && cmpval > 0))
|
||||
overlap = true;
|
||||
|
||||
@@ -1825,7 +1825,7 @@ match_clause_to_partition_key(GeneratePruningStepsContext *context,
|
||||
BooleanTest *new_booltest = (BooleanTest *) copyObject(clause);
|
||||
NullTest *nulltest;
|
||||
|
||||
/* We expect 'noteq' to only be set to true for BooleanTests */
|
||||
/* We expect 'notclause' to only be set to true for BooleanTests */
|
||||
Assert(IsA(clause, BooleanTest));
|
||||
|
||||
/* reverse the bool test */
|
||||
|
||||
Reference in New Issue
Block a user