aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-08-06 18:11:02 +0900
committerMichael Paquier <michael@paquier.xyz>2019-08-06 18:11:02 +0900
commit940c8b01b071b777ed56c086c383e054fbd0456e (patch)
treee6eb3bf20928453ab3732da16c9e0abcce75a761
parent98eab30b93d52a114bd65e154cda3402d0630667 (diff)
downloadpostgresql-940c8b01b071b777ed56c086c383e054fbd0456e.tar.gz
postgresql-940c8b01b071b777ed56c086c383e054fbd0456e.zip
Fix typo in pathnode.c
Author: Amit Langote Discussion: https://postgr.es/m/CA+HiwqFhZ6ABoz-i=JZ5wMMyz-orx4asjR0og9qBtgEwOww6Yg@mail.gmail.com
-rw-r--r--src/backend/optimizer/util/pathnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c
index 0ac73984d26..34acb732ee2 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)