提交 857abb0e 编写于 作者: B Bruce Momjian

Add newlines around debug output in optimizer showing total costs.

上级 1c551683
......@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* 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)
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);
printf("\tcheapest total path:\n");
printf("\n\tcheapest total path:\n");
geqo_print_path(root, rel->cheapest_total_path, 1);
}
......@@ -8,7 +8,7 @@
*
*
* 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");
foreach(l, rel->pathlist)
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);
printf("\tcheapest total path:\n");
printf("\n\tcheapest total path:\n");
print_path(root, rel->cheapest_total_path, 1);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册