1. 14 Apr, 2005 8 commits
  2. 13 Apr, 2005 4 commits
  3. 12 Apr, 2005 6 commits
  4. 11 Apr, 2005 3 commits
  5. 10 Apr, 2005 4 commits
  6. 09 Apr, 2005 2 commits
  7. 08 Apr, 2005 4 commits
  8. 07 Apr, 2005 6 commits
  9. 06 Apr, 2005 3 commits
    • Neil Conway's avatar
      Apply the "nodeAgg" optimization to more of the builtin transition · be2f825d
      Neil Conway authored
      functions. This patch optimizes int2_sum(), int4_sum(), float4_accum()
      and float8_accum() to avoid needing to copy the transition function's
      state for each input tuple of the aggregate. In an extreme case
      (e.g. SELECT sum(int2_col) FROM table where table has a single column),
      it improves performance by about 20%. For more complex queries or tables
      with wider rows, the relative performance improvement will not be as
      significant.
      be2f825d
    • Tom Lane's avatar
      Remove test for NULL node in ExecProcNode(). No place ever calls · a6bbfedc
      Tom Lane authored
      ExecProcNode() with a NULL value, so the test couldn't do anything
      for us except maybe mask bugs.  Removing it probably doesn't save
      anything much either, but then again this is a hot-spot routine.
      a6bbfedc
    • Tom Lane's avatar
      Merge Resdom nodes into TargetEntry nodes to simplify code and save a · ad161bcc
      Tom Lane authored
      few palloc's.  I also chose to eliminate the restype and restypmod fields
      entirely, since they are redundant with information stored in the node's
      contained expression; re-examining the expression at need seems simpler
      and more reliable than trying to keep restype/restypmod up to date.
      
      initdb forced due to change in contents of stored rules.
      ad161bcc