1. 24 Feb, 2010 6 commits
  2. 23 Feb, 2010 15 commits
  3. 22 Feb, 2010 11 commits
  4. 20 Feb, 2010 6 commits
  5. 19 Feb, 2010 2 commits
    • Tom Lane's avatar
      Reduce the rescan cost estimate for Materialize nodes to cpu_operator_cost per · 3f56ca1d
      Tom Lane authored
      tuple, instead of the former cpu_tuple_cost.  It is sane to charge less than
      cpu_tuple_cost because Materialize never does any qual-checking or projection,
      so it's got less overhead than most plan node types.  In particular, we want
      to have the same charge here as is charged for readout in cost_sort.  That
      avoids the problem recently exhibited by Teodor wherein the planner prefers
      a useless sort over a materialize step in a context where a lot of rescanning
      will happen.  The rescan costs should be just about the same for both node
      types, so make their estimates the same.
      
      Not back-patching because all of the current logic for rescan cost estimates
      is new in 9.0.  The old handling of rescans is sufficiently not-sane that
      changing this in that structure is a bit pointless, and might indeed cause
      regressions.
      3f56ca1d
    • Peter Eisentraut's avatar
      Revert version stamping in wrong branch · 2f6cf919
      Peter Eisentraut authored
      2f6cf919