From 98ebd6e78ac6a2e18d3c0776c9577f4ee967d771 Mon Sep 17 00:00:00 2001 From: James Coleman Date: Fri, 27 Mar 2020 12:40:24 -0400 Subject: [PATCH v42 11/12] update confusing copy/paste comment --- src/backend/optimizer/path/allpaths.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/optimizer/path/allpaths.c b/src/backend/optimizer/path/allpaths.c index 85586ec97b..32bf734820 100644 --- a/src/backend/optimizer/path/allpaths.c +++ b/src/backend/optimizer/path/allpaths.c @@ -2751,8 +2751,8 @@ get_useful_pathkeys_for_relation(PlannerInfo *root, RelOptInfo *rel) ListCell *lc; /* - * Considering query_pathkeys is always worth it, because it might let us - * avoid a local sort. + * Considering query_pathkeys is always worth it, because it might allow us + * to avoid a total sort when we have a partially presorted path available. */ if (root->query_pathkeys) { -- 2.17.1