Tweak nestloop costing to weight restart cost of inner path more heavily.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a43f20cb0a38523dd4dcf6265884e30ba2b1ec22
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-04-25T22:04:37Z
Releases: 7.1.1
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...

Files

PathChange+/−
src/backend/optimizer/path/costsize.c modified +12 −4