index e0d2665a91b5f653d65dc8bebcf085f678123b58..8641ae16a265e82a2f4bb4f8593a62ad74e36cfa 100644 (file)
* Returns information necessary to route tuples down a partition tree
*
* All the partitions will be locked with lockmode, unless it is NoLock.
- * A list of the OIDs of all the leaf partition of rel is returned in
+ * A list of the OIDs of all the leaf partitions of rel is returned in
* *leaf_part_oids.
*/
PartitionDispatch *
@@ -1012,9 +1012,9 @@ RelationGetPartitionDispatchInfo(Relation rel, int lockmode,
*
* Cannot use find_all_inheritors() here, because then the order of OIDs
* in parted_rels list would be unknown, which does not help, because we
- * we assign indexes within individual PartitionDispatch in an order that
- * is predetermined (determined by the order of OIDs in individual
- * partition descriptors).
+ * assign indexes within individual PartitionDispatch in an order that is
+ * predetermined (determined by the order of OIDs in individual partition
+ * descriptors).
*/
*num_parted = 1;
parted_rels = list_make1(rel);