]> granicus.if.org Git - postgresql/commitdiff
Add newlines around debug output in optimizer showing total costs.
authorBruce Momjian <bruce@momjian.us>
Tue, 8 May 2001 17:25:28 +0000 (17:25 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 8 May 2001 17:25:28 +0000 (17:25 +0000)
src/backend/optimizer/geqo/geqo_misc.c
src/backend/optimizer/path/allpaths.c

index 7ad5c38037539468c75b53217b3ba08f8fbfa7f4..0c26043fea0e52adf832010a0f12ad8e19f4e8ea 100644 (file)
@@ -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);
 }
index 1cf73dffff769ed7bda494674909cd76726f82d4..243ff7c5a72abfb2c257bfd7f52ab616618b87d8 100644 (file)
@@ -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);
 }