mirror of
https://github.com/postgres/postgres.git
synced 2026-04-22 22:59:54 -04:00
Fix build under OPTIMIZER_DEBUG.
In commit 19a541143a 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.
This commit is contained in:
parent
41fedc2462
commit
05893712cc
1 changed files with 1 additions and 1 deletions
|
|
@ -2957,7 +2957,7 @@ debug_print_rel(PlannerInfo *root, RelOptInfo *rel)
|
||||||
|
|
||||||
printf("RELOPTINFO (");
|
printf("RELOPTINFO (");
|
||||||
print_relids(rel->relids);
|
print_relids(rel->relids);
|
||||||
printf("): rows=%.0f width=%d\n", rel->rows, rel->width);
|
printf("): rows=%.0f width=%d\n", rel->rows, rel->reltarget.width);
|
||||||
|
|
||||||
if (rel->baserestrictinfo)
|
if (rel->baserestrictinfo)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue