1. 11 Jan, 2007 3 commits
  2. 10 Jan, 2007 9 commits
  3. 09 Jan, 2007 15 commits
  4. 08 Jan, 2007 3 commits
    • Peter Eisentraut's avatar
      3a32ba2f
    • Tom Lane's avatar
      Tweak joinlist creation to avoid generating useless one-element subproblems · 19f9376b
      Tom Lane authored
      when collapsing of JOIN trees is stopped by join_collapse_limit.  For instance
      a list of 11 LEFT JOINs with limit 8 now produces something like
      	((1 2 3 4 5 6 7 8) 9 10 11 12)
      instead of
      	(((1 2 3 4 5 6 7 8) (9)) 10 11 12)
      The latter structure is really only required for a FULL JOIN.
      Noted while studying an example from Shane Ambler.
      19f9376b
    • Tom Lane's avatar
      Remove cost_hashjoin's very ancient hack to discourage (once, entirely forbid) · 9a9a143a
      Tom Lane authored
      hash joins with the estimated-larger relation on the inside.  There are
      several cases where doing that makes perfect sense, and in cases where it
      doesn't, the regular cost computation really ought to be able to figure that
      out.  Make some marginal tweaks in said computation to try to get results
      approximating reality a bit better.  Per an example from Shane Ambler.
      
      Also, fix an oversight in the original patch to add seq_page_cost: the costs
      of spilling a hash join to disk should be scaled by seq_page_cost.
      9a9a143a
  5. 07 Jan, 2007 4 commits
  6. 06 Jan, 2007 6 commits