1. 30 Jan, 2007 4 commits
    • Tom Lane's avatar
      Repair oversights in the mechanism used to store compiled plpgsql functions. · 35b039a2
      Tom Lane authored
      The original coding failed (tried to access deallocated memory) if there were
      two active call sites (fn_extra pointers) for the same function and the
      function definition was updated.  Also, if an update of a recursive function
      was detected upon nested entry to the function, the existing compiled version
      was summarily deallocated, resulting in crash upon return to the outer
      instance.  Problem observed while studying a bug report from Sergiy
      Vyshnevetskiy.
      
      Bug does not exist before 8.1 since older versions just leaked the memory of
      obsoleted compiled functions, rather than trying to reclaim it.
      35b039a2
    • Tom Lane's avatar
      Add SPI_push/SPI_pop calls so that datatype input and output functions called · 33d78c9e
      Tom Lane authored
      by plpgsql can themselves use SPI --- possibly indirectly, as in the case
      of domain_in() invoking plpgsql functions in a domain check constraint.
      Per bug #2945 from Sergiy Vyshnevetskiy.
      
      Somewhat arbitrarily, I've chosen to back-patch this as far as 8.0.  Given
      the lack of prior complaints, it doesn't seem critical for 7.x.
      33d78c9e
    • Bruce Momjian's avatar
    • Tom Lane's avatar
      Add support for cross-type hashing in hash index searches and hash joins. · a635c08f
      Tom Lane authored
      Hashing for aggregation purposes still needs work, so it's not time to
      mark any cross-type operators as hashable for general use, but these cases
      work if the operators are so marked by hand in the system catalogs.
      a635c08f
  2. 29 Jan, 2007 6 commits
  3. 28 Jan, 2007 18 commits
  4. 27 Jan, 2007 11 commits
  5. 26 Jan, 2007 1 commit