Tweak nestloop costing to weight restart cost of inner path more heavily.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Apr 2001 22:04:37 +0000 (22:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Apr 2001 22:04:37 +0000 (22:04 +0000)
commitf44ad3589b33b7fd98058e98cd57b8b9eba466ef
treeac36f93553836a6ad6ee97323fed42af56e34ad9
parentdd0ec76ac1bdb01463b1cd4c3918bf7808c87874
Tweak nestloop costing to weight restart cost of inner path more heavily.
Without this, it was making some pretty silly decisions about whether an
expensive sub-SELECT should be the inner or outer side of a join...
src/backend/optimizer/path/costsize.c