Upgrade cost estimation for joins, per discussion with Bradley Baetz.

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

Commit: 70fba70430bd42b1a31c6d49646f9d1991eb8e7c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-01-27T20:51:54Z
Releases: 7.4.1
Upgrade cost estimation for joins, per discussion with Bradley Baetz.
Try to model the effect of rescanning input tuples in mergejoins;
account for JOIN_IN short-circuiting where appropriate.  Also, recognize
that mergejoin and hashjoin clauses may now be more than single operator
calls, so we have to charge appropriate execution costs.

Files