1. 01 Apr, 2011 4 commits
  2. 31 Mar, 2011 5 commits
  3. 30 Mar, 2011 6 commits
  4. 29 Mar, 2011 2 commits
  5. 28 Mar, 2011 9 commits
  6. 27 Mar, 2011 5 commits
  7. 26 Mar, 2011 5 commits
  8. 25 Mar, 2011 4 commits
    • Tom Lane's avatar
      Fix failure to propagate collation in negate_clause(). · c8e99350
      Tom Lane authored
      Turns out it was this, and not so much plpgsql, that was at fault in Stefan
      Huehner's collation-error-in-a-trigger bug report of a couple weeks ago.
      c8e99350
    • Tom Lane's avatar
      Document collation handling in SQL and plpgsql functions. · 9b19c12e
      Tom Lane authored
      This is pretty minimal but covers the bare facts.
      9b19c12e
    • Tom Lane's avatar
      Fix collation handling in plpgsql functions. · a4425e32
      Tom Lane authored
      Make plpgsql treat the input collation as a polymorphism variable, so
      that we cache separate plans for each input collation that's used in a
      particular session, as per recent discussion.  Propagate the input
      collation to all collatable input parameters.
      
      I chose to also propagate the input collation to all declared variables of
      collatable types, which is a bit more debatable but seems to be necessary
      for non-astonishing behavior.  (Copying a parameter into a separate local
      variable shouldn't result in a change of behavior, for example.)  There is
      enough infrastructure here to support declaring a collation for each local
      variable to override that default, but I thought we should wait to see what
      the field demand is before adding such a feature.
      
      In passing, remove exec_get_rec_fieldtype(), which wasn't used anywhere.
      
      Documentation patch to follow.
      a4425e32
    • Robert Haas's avatar
      Remove alpha release notes. · f6f0916d
      Robert Haas authored
      Temporarily move some of the alpha release note disclaimers into the regular
      release notes, for the sake of alpha5.
      f6f0916d