Add newlines around debug output in optimizer showing total costs.

This commit is contained in:
Bruce Momjian 2001-05-08 17:25:28 +00:00
parent 1c551683cb
commit 857abb0e57
2 changed files with 6 additions and 6 deletions

View File

@ -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)
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);
} }

View File

@ -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)
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);
} }