From 940c8b01b071b777ed56c086c383e054fbd0456e Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Tue, 6 Aug 2019 18:11:02 +0900 Subject: [PATCH] Fix typo in pathnode.c Author: Amit Langote Discussion: https://postgr.es/m/CA+HiwqFhZ6ABoz-i=JZ5wMMyz-orx4asjR0og9qBtgEwOww6Yg@mail.gmail.com --- src/backend/optimizer/util/pathnode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c index 0ac73984d2..34acb732ee 100644 --- a/src/backend/optimizer/util/pathnode.c +++ b/src/backend/optimizer/util/pathnode.c @@ -775,7 +775,7 @@ add_partial_path(RelOptInfo *parent_rel, Path *new_path) /* Compare pathkeys. */ keyscmp = compare_pathkeys(new_path->pathkeys, old_path->pathkeys); - /* Unless pathkeys are incompable, keep just one of the two paths. */ + /* Unless pathkeys are incompatible, keep just one of the two paths. */ if (keyscmp != PATHKEYS_DIFFERENT) { if (new_path->total_cost > old_path->total_cost * STD_FUZZ_FACTOR) -- 2.40.0