1. 09 Apr, 2009 7 commits
  2. 08 Apr, 2009 7 commits
  3. 07 Apr, 2009 11 commits
  4. 06 Apr, 2009 12 commits
  5. 05 Apr, 2009 3 commits
    • Tom Lane's avatar
      Change cardinality() into a C-code function, instead of a SQL-language · f2110a75
      Tom Lane authored
      alias for array_length(v,1).  The efficiency gain here is doubtless
      negligible --- what I'm interested in is making sure that if we have
      second thoughts about the definition, we will not have to force a
      post-beta initdb to change the implementation.
      f2110a75
    • Tom Lane's avatar
      Make ExecInitExpr build the list of SubPlans found in a plan tree in order · eb4c723e
      Tom Lane authored
      of discovery, rather than reverse order.  This doesn't matter functionally
      (I suppose the previous coding dates from the time when lcons was markedly
      cheaper than lappend).  However now that EXPLAIN is labeling subplans with
      IDs that are based on order of creation, this may help produce a slightly
      less surprising printout.
      eb4c723e
    • Tom Lane's avatar
      Change EXPLAIN output so that subplans and initplans (particularly CTEs) · fbcce080
      Tom Lane authored
      are individually labeled, rather than just grouped under an "InitPlan"
      or "SubPlan" heading.  This in turn makes it possible for decompilation of
      a subplan reference to usefully identify which subplan it's referencing.
      I also made InitPlans identify which parameter symbol(s) they compute,
      so that references to those parameters elsewhere in the plan tree can
      be connected to the initplan that will be executed.  Per a gripe from
      Robert Haas about EXPLAIN output of a WITH query being inadequate,
      plus some longstanding pet peeves of my own.
      fbcce080