Skip to content

Commit 0589371

Browse files
committed
Fix build under OPTIMIZER_DEBUG.
In commit 19a5411 I replaced RelOptInfo.width with RelOptInfo.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 parent 41fedc2 commit 0589371

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy