1. 06 Jan, 2012 1 commit
    • Robert Haas's avatar
      Fix variable confusion in BufferSync(). · 7e4911b2
      Robert Haas authored
      As noted by Heikki Linnakangas, the previous coding confused the "flags"
      variable with the "mask" variable.  The affect of this appears to be that
      unlogged buffers would get written out at every checkpoint rather than
      only at shutdown time.  Although that's arguably an acceptable failure
      mode, I'm back-patching this change, since it seems like a poor idea to
      rely on this happening to work.
      7e4911b2
  2. 05 Jan, 2012 6 commits
  3. 04 Jan, 2012 2 commits
    • Tom Lane's avatar
      Make executor's SELECT INTO code save and restore original tuple receiver. · dfd26f9c
      Tom Lane authored
      As previously coded, the QueryDesc's dest pointer was left dangling
      (pointing at an already-freed receiver object) after ExecutorEnd.  It's a
      bit astonishing that it took us this long to notice, and I'm not sure that
      the known problem case with SQL functions is the only one.  Fix it by
      saving and restoring the original receiver pointer, which seems the most
      bulletproof way of ensuring any related bugs are also covered.
      
      Per bug #6379 from Paul Ramsey.  Back-patch to 8.4 where the current
      handling of SELECT INTO was introduced.
      dfd26f9c
    • Michael Meskes's avatar
      Made code in ecpg better readable. · 10ecc0d5
      Michael Meskes authored
      10ecc0d5
  4. 03 Jan, 2012 3 commits
  5. 02 Jan, 2012 12 commits
  6. 01 Jan, 2012 3 commits
  7. 31 Dec, 2011 1 commit
  8. 30 Dec, 2011 2 commits
  9. 29 Dec, 2011 3 commits
  10. 28 Dec, 2011 1 commit
  11. 27 Dec, 2011 5 commits
  12. 26 Dec, 2011 1 commit