1. 28 2月, 2007 5 次提交
  2. 27 2月, 2007 2 次提交
  3. 26 2月, 2007 1 次提交
  4. 24 2月, 2007 8 次提交
  5. 23 2月, 2007 3 次提交
    • T
      Change Agg and Group nodes so that Vars contained in their targetlists · cc77005d
      Tom Lane 提交于
      and quals have varno OUTER, rather than zero, to indicate a reference to
      an output of their lefttree subplan.  This is consistent with the way
      that every other upper-level node type does it, and allows some simplifications
      in setrefs.c and EXPLAIN.
      cc77005d
    • T
      Fix bug I introduced in recent patch to make hash joins discard null tuples · 3c5985b4
      Tom Lane 提交于
      immediately: ExecHashGetHashValue failed to restore the caller's memory
      context before taking the failure exit.
      3c5985b4
    • T
      Turn the rangetable used by the executor into a flat list, and avoid storing · eab6b8b2
      Tom Lane 提交于
      useless substructure for its RangeTblEntry nodes.  (I chose to keep using the
      same struct node type and just zero out the link fields for unneeded info,
      rather than making a separate ExecRangeTblEntry type --- it seemed too
      fragile to have two different rangetable representations.)
      
      Along the way, put subplans into a list in the toplevel PlannedStmt node,
      and have SubPlan nodes refer to them by list index instead of direct pointers.
      Vadim wanted to do that years ago, but I never understood what he was on about
      until now.  It makes things a *whole* lot more robust, because we can stop
      worrying about duplicate processing of subplans during expression tree
      traversals.  That's been a constant source of bugs, and it's finally gone.
      
      There are some consequent simplifications yet to be made, like not using
      a separate EState for subplans in the executor, but I'll tackle that later.
      eab6b8b2
  6. 22 2月, 2007 12 次提交
  7. 21 2月, 2007 9 次提交