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

Commit0589371

Browse files
committed
Fix build under OPTIMIZER_DEBUG.
In commit19a5411 I replaced RelOptInfo.width withRelOptInfo.reltarget.width, but I missed updating debug_print_rel()for that because it's not compiled by default.Reported by Salvador Fandino, patch by Michael Paquier.
1 parent41fedc2 commit0589371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2957,7 +2957,7 @@ debug_print_rel(PlannerInfo *root, RelOptInfo *rel)
29572957

29582958
printf("RELOPTINFO (");
29592959
print_relids(rel->relids);
2960-
printf("): rows=%.0f width=%d\n",rel->rows,rel->width);
2960+
printf("): rows=%.0f width=%d\n",rel->rows,rel->reltarget.width);
29612961

29622962
if (rel->baserestrictinfo)
29632963
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp