1. 30 Jan, 2007 5 commits
    • Bruce Momjian's avatar
      Update documentation for backslashes to mention escape string syntax · 4ed9f1d9
      Bruce Momjian authored
      more, and standard_conforming_strings less, because in the future non-E
      strings will not treat backslashes specially.
      
      Also use E'' strings where backslashes are used in examples. (The
      existing examples would have drawn warnings.)
      
      Backpatch to 8.2.X.
      4ed9f1d9
    • 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