Content-Length: 260191 | pFad | http://github.com/postgrespro/postgres_cluster/commit/05893712cc9950b7c4c312aa9d3d444375bf15a2

C0 Fix build under OPTIMIZER_DEBUG. · postgrespro/postgres_cluster@0589371 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/05893712cc9950b7c4c312aa9d3d444375bf15a2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy