Fix typo in comment
authorDavid Rowley <drowley@postgresql.org>
Tue, 6 Jul 2021 00:38:50 +0000 (12:38 +1200)
committerDavid Rowley <drowley@postgresql.org>
Tue, 6 Jul 2021 00:38:50 +0000 (12:38 +1200)
Author: James Coleman
Discussion: https://postgr.es/m/CAAaqYe8f8ENA0i1PdBtUNWDd2sxHSMgscNYbjhaXMuAdfBrZcg@mail.gmail.com

src/backend/optimizer/path/allpaths.c

index 353454b183e52cc23e168e5b514c45713e66583e..17febfff8aaa85cabe1934f63689c0f9bc5610fb 100644 (file)
@@ -2794,8 +2794,8 @@ generate_useful_gather_paths(PlannerInfo *root, RelOptInfo *rel, bool override_r
                         * gather merge path for every subpath that has pathkeys present.
                         *
                         * But since the subpath is already sorted, we know we don't need
-                        * to consider adding a sort (other either kind) on top of it, so
-                        * we can continue here.
+                        * to consider adding a sort (full or incremental) on top of it,
+                        * so we can continue here.
                         */
                        if (is_sorted)
                                continue;