Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit857abb0

Browse files
committed
Add newlines around debug output in optimizer showing total costs.
1 parent1c55168 commit857abb0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎src/backend/optimizer/geqo/geqo_misc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: geqo_misc.c,v 1.30 2001/01/24 19:42:57 momjian Exp $
9+
* $Id: geqo_misc.c,v 1.31 2001/05/08 17:25:27 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -242,9 +242,9 @@ geqo_print_rel(Query *root, RelOptInfo *rel)
242242
foreach(l,rel->pathlist)
243243
geqo_print_path(root,lfirst(l),1);
244244

245-
printf("\tcheapest startup path:\n");
245+
printf("\n\tcheapest startup path:\n");
246246
geqo_print_path(root,rel->cheapest_startup_path,1);
247247

248-
printf("\tcheapest total path:\n");
248+
printf("\n\tcheapest total path:\n");
249249
geqo_print_path(root,rel->cheapest_total_path,1);
250250
}

‎src/backend/optimizer/path/allpaths.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.72 2001/03/22 03:59:34 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.73 2001/05/08 17:25:28 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -617,9 +617,9 @@ debug_print_rel(Query *root, RelOptInfo *rel)
617617
printf("\tpath list:\n");
618618
foreach(l,rel->pathlist)
619619
print_path(root,lfirst(l),1);
620-
printf("\tcheapest startup path:\n");
620+
printf("\n\tcheapest startup path:\n");
621621
print_path(root,rel->cheapest_startup_path,1);
622-
printf("\tcheapest total path:\n");
622+
printf("\n\tcheapest total path:\n");
623623
print_path(root,rel->cheapest_total_path,1);
624624
}
625625

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp