diff options
Diffstat (limited to 'src/backend/optimizer/geqo/geqo_misc.c')
-rw-r--r-- | src/backend/optimizer/geqo/geqo_misc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/backend/optimizer/geqo/geqo_misc.c b/src/backend/optimizer/geqo/geqo_misc.c index 5385fc57fc7..6ffc02b1c5b 100644 --- a/src/backend/optimizer/geqo/geqo_misc.c +++ b/src/backend/optimizer/geqo/geqo_misc.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: geqo_misc.c,v 1.32 2002/06/20 20:29:29 momjian Exp $ + * $Id: geqo_misc.c,v 1.33 2002/07/20 04:59:10 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -26,6 +26,7 @@ #include "optimizer/geqo_misc.h" #include "nodes/print.h" +#ifdef GEQO_DEBUG static float avg_pool(Pool *pool); @@ -92,7 +93,7 @@ print_gen(FILE *fp, Pool *pool, int generation) lowest = pool->size > 1 ? pool->size - 2 : 0; fprintf(fp, - "%5d | Bst: %f Wst: %f Mean: %f Avg: %f\n", + "%5d | Best: %f Worst: %f Mean: %f Avg: %f\n", generation, pool->data[0].worth, pool->data[lowest].worth, @@ -248,3 +249,5 @@ geqo_print_rel(Query *root, RelOptInfo *rel) printf("\n\tcheapest total path:\n"); geqo_print_path(root, rel->cheapest_total_path, 1); } + +#endif /* GEQO_DEBUG */ |