Fix build under OPTIMIZER_DEBUG.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Feb 2016 15:14:12 +0000 (10:14 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Feb 2016 15:14:12 +0000 (10:14 -0500)
commit05893712cc9950b7c4c312aa9d3d444375bf15a2
tree47299d7f585f0c266c0cdb32f9c0e9c9fc83fa3c
parent41fedc24626696fdf55d0c43131d91757dbe1c66
Fix build under OPTIMIZER_DEBUG.

In commit 19a541143a09c067 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.
src/backend/optimizer/path/allpaths.c