]> granicus.if.org Git - postgresql/commit
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)
commita43f20cb0a38523dd4dcf6265884e30ba2b1ec22
tree4200dd3c7b7f523934aff66e62701a8e556e0726
parentcbeda8401a948515780ad49001c577e07036699c
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