Commit 940c8b01 authored by Michael Paquier's avatar Michael Paquier

Fix typo in pathnode.c

Author: Amit Langote
Discussion: https://postgr.es/m/CA+HiwqFhZ6ABoz-i=JZ5wMMyz-orx4asjR0og9qBtgEwOww6Yg@mail.gmail.com
parent 98eab30b
...@@ -775,7 +775,7 @@ add_partial_path(RelOptInfo *parent_rel, Path *new_path) ...@@ -775,7 +775,7 @@ add_partial_path(RelOptInfo *parent_rel, Path *new_path)
/* Compare pathkeys. */ /* Compare pathkeys. */
keyscmp = compare_pathkeys(new_path->pathkeys, old_path->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 (keyscmp != PATHKEYS_DIFFERENT)
{ {
if (new_path->total_cost > old_path->total_cost * STD_FUZZ_FACTOR) if (new_path->total_cost > old_path->total_cost * STD_FUZZ_FACTOR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment