diff options
Diffstat (limited to 'src/backend/optimizer/geqo/geqo_misc.c')
-rw-r--r-- | src/backend/optimizer/geqo/geqo_misc.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/backend/optimizer/geqo/geqo_misc.c b/src/backend/optimizer/geqo/geqo_misc.c index 97acc836041..ef4bbb879d5 100644 --- a/src/backend/optimizer/geqo/geqo_misc.c +++ b/src/backend/optimizer/geqo/geqo_misc.c @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: geqo_misc.c,v 1.14 1999/02/10 21:02:34 momjian Exp $ + * $Id: geqo_misc.c,v 1.15 1999/02/12 06:43:26 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -158,7 +158,7 @@ void geqo_print_path(Query *root, Path *path, int indent) { char *ptype = NULL; - JoinPath *jp; + NestPath *jp; bool join = false; int i; @@ -175,7 +175,7 @@ geqo_print_path(Query *root, Path *path, int indent) ptype = "IdxScan"; join = false; break; - case T_JoinPath: + case T_NestPath: ptype = "Nestloop"; join = true; break; @@ -194,7 +194,7 @@ geqo_print_path(Query *root, Path *path, int indent) { int size = path->parent->size; - jp = (JoinPath *) path; + jp = (NestPath *) path; printf("%s size=%d cost=%f\n", ptype, size, path->path_cost); switch (nodeTag(path)) { @@ -203,8 +203,7 @@ geqo_print_path(Query *root, Path *path, int indent) for (i = 0; i < indent + 1; i++) printf("\t"); printf(" clauses=("); - geqo_print_joinclauses(root, - ((JoinPath *) path)->pathinfo); + geqo_print_joinclauses(root, ((NestPath *) path)->pathinfo); printf(")\n"); if (nodeTag(path) == T_MergePath) |