]> granicus.if.org Git - postgresql/commit
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)
commit2a64931c4bc76c5e800c3fb1eb5a18dc256899c9
treecc7adef41431d616c108c3736f9f41187ffe06bd
parentab16485031a2967da271433f5077ef3e5ba51886
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