Commit 857abb0e authored by Bruce Momjian's avatar Bruce Momjian

Add newlines around debug output in optimizer showing total costs.

parent 1c551683
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: geqo_misc.c,v 1.30 2001/01/24 19:42:57 momjian Exp $ * $Id: geqo_misc.c,v 1.31 2001/05/08 17:25:27 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -242,9 +242,9 @@ geqo_print_rel(Query *root, RelOptInfo *rel) ...@@ -242,9 +242,9 @@ geqo_print_rel(Query *root, RelOptInfo *rel)
foreach(l, rel->pathlist) foreach(l, rel->pathlist)
geqo_print_path(root, lfirst(l), 1); geqo_print_path(root, lfirst(l), 1);
printf("\tcheapest startup path:\n"); printf("\n\tcheapest startup path:\n");
geqo_print_path(root, rel->cheapest_startup_path, 1); geqo_print_path(root, rel->cheapest_startup_path, 1);
printf("\tcheapest total path:\n"); printf("\n\tcheapest total path:\n");
geqo_print_path(root, rel->cheapest_total_path, 1); geqo_print_path(root, rel->cheapest_total_path, 1);
} }
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.72 2001/03/22 03:59:34 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.73 2001/05/08 17:25:28 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -617,9 +617,9 @@ debug_print_rel(Query *root, RelOptInfo *rel) ...@@ -617,9 +617,9 @@ debug_print_rel(Query *root, RelOptInfo *rel)
printf("\tpath list:\n"); printf("\tpath list:\n");
foreach(l, rel->pathlist) foreach(l, rel->pathlist)
print_path(root, lfirst(l), 1); print_path(root, lfirst(l), 1);
printf("\tcheapest startup path:\n"); printf("\n\tcheapest startup path:\n");
print_path(root, rel->cheapest_startup_path, 1); print_path(root, rel->cheapest_startup_path, 1);
printf("\tcheapest total path:\n"); printf("\n\tcheapest total path:\n");
print_path(root, rel->cheapest_total_path, 1); print_path(root, rel->cheapest_total_path, 1);
} }
......
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