1. 24 Mar, 2010 7 commits
  2. 23 Mar, 2010 5 commits
  3. 22 Mar, 2010 6 commits
  4. 21 Mar, 2010 9 commits
  5. 20 Mar, 2010 8 commits
  6. 19 Mar, 2010 5 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
    • Simon Riggs's avatar
      Clarify docs about database parameter in streaming replication primary_conninfo. · f42ddc47
      Simon Riggs authored
      Docs were unclear on whether or not database=replication was required,
      nor did they mention the FATAL error this causes if database parameter is
      mentioned explicitly, whatever its value.
      f42ddc47
    • Simon Riggs's avatar
      Add connection messages for streaming replication. log_connections · 6a771d1d
      Simon Riggs authored
      was broken for a replication connection and no messages were
      displayed on either standby or primary, at any debug level.
      Connection messages needed to diagnose session drop/reconnect
      events. Use LOG mode for now, discuss lowering in later releases.
      6a771d1d
    • Simon Riggs's avatar
      Minor tweaks on libpqrcv_connect(): ensure conninfo_repl[] is · 75867c52
      Simon Riggs authored
      correctly sized and expand comment to explain otherwise
      undocumented use of replication connection parameter.
      75867c52