1. 30 Mar, 2011 6 commits
  2. 29 Mar, 2011 2 commits
  3. 28 Mar, 2011 9 commits
  4. 27 Mar, 2011 5 commits
  5. 26 Mar, 2011 5 commits
  6. 25 Mar, 2011 8 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
    • Robert Haas's avatar
      Make walreceiver send a reply after receiving data but before flushing it. · 30f6136f
      Robert Haas authored
      It originally worked this way, but was changed by commit
      a8a8a3e0, since which time it's been impossible
      for walreceiver to ever send a reply with write_location and flush_location
      set to different values.
      30f6136f
    • Alvaro Herrera's avatar
      Fix broken markup, and remove tabs · 01dd34d5
      Alvaro Herrera authored
      01dd34d5
    • Michael Meskes's avatar
      Documented some ecpg command line options that were missing: · 71ac48fd
      Michael Meskes authored
      -r no_indicator
      -r prepare
      -r questionsmarks
      71ac48fd
    • Tom Lane's avatar
      Fix handling of collation in SQL-language functions. · 27dc7e24
      Tom Lane authored
      Ensure that parameter symbols receive collation from the function's
      resolved input collation, and fix inlining to behave properly.
      
      BTW, this commit lays about 90% of the infrastructure needed to support
      use of argument names in SQL functions.  Parsing of parameters is now
      done via the parser-hook infrastructure ... we'd just need to supply
      a column-ref hook ...
      27dc7e24
  7. 24 Mar, 2011 3 commits
  8. 23 Mar, 2011 2 commits
    • Tom Lane's avatar
      Improve user-defined-aggregates documentation. · 472671e1
      Tom Lane authored
      On closer inspection, that two-element initcond value seems to have been
      a little white lie to avoid explaining the full behavior of float8_accum.
      But if people are going to expect the examples to be exactly correct,
      I suppose we'd better explain.  Per comment from Thom Brown.
      472671e1
    • Simon Riggs's avatar
      Minor changes to recovery pause behaviour. · b5f2f2a7
      Simon Riggs authored
      Change location LOG message so it works each time we pause, not
      just for final pause.
      Ensure that we pause only if we are in Hot Standby and can connect
      to allow us to run resume function. This change supercedes the
      code to override parameter recoveryPauseAtTarget to false if not
      attempting to enter Hot Standby, which is now removed.
      b5f2f2a7