1. 25 Mar, 2010 2 commits
  2. 24 Mar, 2010 8 commits
  3. 23 Mar, 2010 5 commits
  4. 22 Mar, 2010 6 commits
  5. 21 Mar, 2010 9 commits
  6. 20 Mar, 2010 8 commits
  7. 19 Mar, 2010 2 commits
    • Tom Lane's avatar
      Modify error context callback functions to not assume that they can fetch · a836abe9
      Tom Lane authored
      catalog entries via SearchSysCache and related operations.  Although, at the
      time that these callbacks are called by elog.c, we have not officially aborted
      the current transaction, it still seems rather risky to initiate any new
      catalog fetches.  In all these cases the needed information is readily
      available in the caller and so it's just a matter of a bit of extra notation
      to pass it to the callback.
      
      Per crash report from Dennis Koegel.  I've concluded that the real fix for
      his problem is to clear the error context stack at entry to proc_exit, but
      it still seems like a good idea to make the callbacks a bit less fragile
      for other cases.
      
      Backpatch to 8.4.  We could go further back, but the patch doesn't apply
      cleanly.  In the absence of proof that this fixes something and isn't just
      paranoia, I'm not going to expend the effort.
      a836abe9
    • Tom Lane's avatar
      Fix oversight in btpo.xact patch; it was in fact installing garbage · 865b2954
      Tom Lane authored
      in the xact field on replay, due to not writing out all the data in
      the wal log struct.
      865b2954