1. 17 Oct, 2008 2 commits
  2. 16 Oct, 2008 3 commits
    • Neil Conway's avatar
      Fix a small memory leak in ExecReScanAgg() in the hashed aggregation case. · e034e517
      Neil Conway authored
      In the previous coding, the list of columns that needed to be hashed on
      was allocated in the per-query context, but we reallocated every time
      the Agg node was rescanned. Since this information doesn't change over
      a rescan, just construct the list of columns once during ExecInitAgg().
      e034e517
    • Tom Lane's avatar
      Reduce chatter from _dosmaperr() when used in FRONTEND code. · 0e3d5ad4
      Tom Lane authored
      ITAGAKI Takahiro
      0e3d5ad4
    • Tom Lane's avatar
      Fix SPI_getvalue and SPI_getbinval to range-check the given attribute number · bcf188a2
      Tom Lane authored
      according to the TupleDesc's natts, not the number of physical columns in the
      tuple.  The previous coding would do the wrong thing in cases where natts is
      different from the tuple's column count: either incorrectly report error when
      it should just treat the column as null, or actually crash due to indexing off
      the end of the TupleDesc's attribute array.  (The second case is probably not
      possible in modern PG versions, due to more careful handling of inheritance
      cases than we once had.  But it's still a clear lack of robustness here.)
      
      The incorrect error indication is ignored by all callers within the core PG
      distribution, so this bug has no symptoms visible within the core code, but
      it might well be an issue for add-on packages.  So patch all the way back.
      bcf188a2
  3. 14 Oct, 2008 10 commits
  4. 13 Oct, 2008 4 commits
  5. 11 Oct, 2008 1 commit
  6. 10 Oct, 2008 4 commits
  7. 09 Oct, 2008 8 commits
  8. 08 Oct, 2008 1 commit
  9. 07 Oct, 2008 7 commits