aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-05-02 14:47:46 -0400
committerRobert Haas <rhaas@postgresql.org>2017-05-02 14:47:46 -0400
commit0d1e1f0ea45c15170c2d2ae0f0c448bc2d2b72d9 (patch)
treed15c0eebbb8fea8766b1faabc24edbda6270d6bd /src
parent460c89f46c1fdf11baa8e76e6d04e1ff87d7e008 (diff)
downloadpostgresql-0d1e1f0ea45c15170c2d2ae0f0c448bc2d2b72d9.tar.gz
postgresql-0d1e1f0ea45c15170c2d2ae0f0c448bc2d2b72d9.zip
Fix typos in comments.
Etsuro Fujita Discussion: http://postgr.es/m/00e88999-684d-d79a-70e4-908c937a0126@lab.ntt.co.jp
Diffstat (limited to 'src')
-rw-r--r--src/backend/catalog/partition.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/catalog/partition.c b/src/backend/catalog/partition.c
index e0d2665a91b..8641ae16a26 100644
--- a/src/backend/catalog/partition.c
+++ b/src/backend/catalog/partition.c
@@ -988,7 +988,7 @@ RelationGetPartitionQual(Relation rel)
* 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);