1. 09 Jul, 2003 7 commits
  2. 08 Jul, 2003 2 commits
  3. 07 Jul, 2003 1 commit
  4. 04 Jul, 2003 7 commits
  5. 03 Jul, 2003 3 commits
  6. 02 Jul, 2003 1 commit
  7. 01 Jul, 2003 11 commits
  8. 30 Jun, 2003 7 commits
  9. 29 Jun, 2003 1 commit
    • Tom Lane's avatar
      Restructure building of join relation targetlists so that a join plan · 835bb975
      Tom Lane authored
      node emits only those vars that are actually needed above it in the
      plan tree.  (There were comments in the code suggesting that this was
      done at some point in the dim past, but for a long time we have just
      made join nodes emit everything that either input emitted.)  Aside from
      being marginally more efficient, this fixes the problem noted by Peter
      Eisentraut where a join above an IN-implemented-as-join might fail,
      because the subplan targetlist constructed in the latter case didn't
      meet the expectation of including everything.
      Along the way, fix some places that were O(N^2) in the targetlist
      length.  This is not all the trouble spots for wide queries by any
      means, but it's a step forward.
      835bb975