]> granicus.if.org Git - postgresql/commitdiff
Fix typo in pathnode.c
authorMichael Paquier <michael@paquier.xyz>
Tue, 6 Aug 2019 09:11:02 +0000 (18:11 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 6 Aug 2019 09:11:02 +0000 (18:11 +0900)
Author: Amit Langote
Discussion: https://postgr.es/m/CA+HiwqFhZ6ABoz-i=JZ5wMMyz-orx4asjR0og9qBtgEwOww6Yg@mail.gmail.com

src/backend/optimizer/util/pathnode.c

index 0ac73984d26684fb4f3722688360d83d7437f96f..34acb732ee25be9e7143f3f87c38e16668458be0 100644 (file)
@@ -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)