Salvage a little bit of work from a failed patch: simplify and speed up
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 17 Oct 2008 20:27:24 +0000 (20:27 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 17 Oct 2008 20:27:24 +0000 (20:27 +0000)
commite23b42dba457ecc9d6722164689101fb7e6c8767
tree019cf25f818b5d3a567d7d2ab1ab03d3229081d6
parenteaa8a51394dc0d91d0060bf783c54cf0181f21a3
Salvage a little bit of work from a failed patch: simplify and speed up
set_rel_width().  The code had been catering for the possibility of different
varnos in the relation targetlist, but this is impossible for a base relation
(and if it were possible, putting all the widths in the same RelOptInfo would
be wrong anyway).
src/backend/optimizer/path/costsize.c