@@ -2383,16 +2383,16 @@ pathkeys_useful_for_ordering(PlannerInfo *root, List *pathkeys)
2383
2383
*Count the number of pathkeys that are useful for grouping (instead of
2384
2384
*explicit sort)
2385
2385
*
2386
- * Group pathkeys could be reordered to benefit from theodering . The ordering
2387
- * may not be "complete" and may require incremental sort, but that's fine. So
2388
- * we simply count prefix pathkeys with a matching group key, and stop once we
2389
- * find the first pathkey without a match.
2386
+ * Group pathkeys could be reordered to benefit from theordering . The
2387
+ *ordering may not be "complete" and may require incremental sort, but that's
2388
+ *fine. So we simply count prefix pathkeys with a matching group key, and
2389
+ *stop once we find the first pathkey without a match.
2390
2390
*
2391
2391
* So e.g. with pathkeys (a,b,c) and group keys (a,b,e) this determines (a,b)
2392
2392
* pathkeys are useful for grouping, and we might do incremental sort to get
2393
2393
* path ordered by (a,b,e).
2394
2394
*
2395
- * This logic is necessary to retain paths withordeding not matching grouping
2395
+ * This logic is necessary to retain paths withordering not matching grouping
2396
2396
* keys directly, without the reordering.
2397
2397
*
2398
2398
* Returns the length of pathkey prefix with matching group keys.