1. 30 Mar, 2010 5 commits
    • Heikki Linnakangas's avatar
      Change the retry-loop in standby mode to also try restoring files from · 2a77355e
      Heikki Linnakangas authored
      pg_xlog directory. This is essential for replaying WAL records that
      were streamed from the master, after a standby server restart.
      
      If a corrupt record is seen in a file restored from the archive or
      streamed from the master, log it as a WARNING and keep retrying. If the
      corruption is permanent, and not just a glitch in the whatever copies the
      files to the archive or a network error not caught by CRC checks in TCP
      for example, we will keep retrying and logging the WARNING indefinitely.
      But that's better than shutting down completely, the standby is still
      useful for running read-only queries. In PITR the recovery ends at such a
      corrupt record, which is a bit questionable, but that's the behavior we
      had in previous releases and we don't feel like chaning it now. It does
      make sense for tools like pg_standby.
      2a77355e
    • Peter Eisentraut's avatar
      Message tuning · feb5087a
      Peter Eisentraut authored
      feb5087a
    • Bruce Momjian's avatar
      Properly initialize local varaible in · e919a844
      Bruce Momjian authored
      btree_xlog_delete_get_latestRemovedXid().  This variable was only tested
      in assert builds.
      e919a844
    • Bruce Momjian's avatar
      a358423d
    • Peter Eisentraut's avatar
      Separate targets "make docs" and "make install-docs" for the documentation · 29ccc32c
      Peter Eisentraut authored
      It is no longer installed by default, but included in "make world"/"make
      install-world".  Documentation updated accordingly.
      
      Also, fix vpathsearch function to work when calling make install-docs
      without previous make docs.
      29ccc32c
  2. 29 Mar, 2010 4 commits
  3. 28 Mar, 2010 2 commits
    • Tom Lane's avatar
      Rework join-removal logic as per recent discussion. In particular this · b78f6264
      Tom Lane authored
      fixes things so that it works for cases where nested removals are possible.
      The overhead of the optimization should be significantly less, as well.
      b78f6264
    • Simon Riggs's avatar
      Derive latestRemovedXid for btree deletes by reading heap pages. The · a760893d
      Simon Riggs authored
      WAL record for btree delete contains a list of tids, even when backup
      blocks are present. We follow the tids to their heap tuples, taking
      care to follow LP_REDIRECT tuples. We ignore LP_DEAD tuples on the
      understanding that they will always have xmin/xmax earlier than any
      LP_NORMAL tuples referred to by killed index tuples. Iff all tuples
      are LP_DEAD we return InvalidTransactionId. The heap relfilenode is
      added to the WAL record, requiring API changes to pass down the heap
      Relation. XLOG_PAGE_MAGIC updated.
      a760893d
  4. 26 Mar, 2010 1 commit
  5. 25 Mar, 2010 3 commits
  6. 24 Mar, 2010 8 commits
  7. 23 Mar, 2010 5 commits
  8. 22 Mar, 2010 6 commits
  9. 21 Mar, 2010 6 commits