1. 16 Apr, 2009 2 commits
    • Tom Lane's avatar
      Fix planner to restore its previous level of intelligence about pushing · d7a6a04d
      Tom Lane authored
      constants through full joins, as in
      
      	select * from tenk1 a full join tenk1 b using (unique1)
      	where unique1 = 42;
      
      which should generate a fairly cheap plan where we apply the constraint
      unique1 = 42 in each relation scan.  This had been broken by my patch of
      2008-06-27, which is now reverted in favor of a more invasive but hopefully
      less incorrect approach.  That patch was meant to prevent incorrect extraction
      of OR'd indexclauses from OR conditions above an outer join.  To do that
      correctly we need more information than the outerjoin_delay flag can provide,
      so add a nullable_relids field to RestrictInfo that records exactly which
      relations are nulled by outer joins that are underneath a particular qual
      clause.  A side benefit is that we can make the test in create_or_index_quals
      more specific: it is now smart enough to extract an OR'd indexclause into the
      outer side of an outer join, even though it must not do so in the inner side.
      The old coding couldn't distinguish these cases so it could not do either.
      d7a6a04d
    • Alvaro Herrera's avatar
      Fix the regression test error message for array_fill, too. · c5593d54
      Alvaro Herrera authored
      Per note from Andrew Dunstan.
      c5593d54
  2. 15 Apr, 2009 6 commits
  3. 14 Apr, 2009 5 commits
  4. 13 Apr, 2009 2 commits
  5. 12 Apr, 2009 1 commit
  6. 11 Apr, 2009 9 commits
  7. 10 Apr, 2009 3 commits
  8. 09 Apr, 2009 12 commits