1. 21 6月, 2011 1 次提交
  2. 18 6月, 2011 1 次提交
    • T
      Don't use "cp -i" in the example WAL archive_command. · a2624c68
      Tom Lane 提交于
      This is a dangerous example to provide because on machines with GNU cp,
      it will silently do the wrong thing and risk archive corruption.  Worse,
      during the 9.0 cycle somebody "improved" the discussion by removing the
      warning that used to be there about that, and instead leaving the
      impression that the command would work as desired on most Unixen.
      It doesn't.  Try to rectify the damage by providing an example that is safe
      most everywhere, and then noting that you can try cp -i if you want but
      you'd better test that.
      
      In back-patching this to all supported branches, I also added an example
      command for Windows, which wasn't provided before 9.0.
      a2624c68
  3. 19 5月, 2011 1 次提交
  4. 08 5月, 2011 1 次提交
  5. 09 2月, 2011 1 次提交
  6. 07 2月, 2011 1 次提交
  7. 02 2月, 2011 1 次提交
  8. 01 2月, 2011 2 次提交
  9. 30 1月, 2011 1 次提交
  10. 23 1月, 2011 1 次提交
    • M
      Add pg_basebackup tool for streaming base backups · 048d148f
      Magnus Hagander 提交于
      This tool makes it possible to do the pg_start_backup/
      copy files/pg_stop_backup step in a single command.
      
      There are still some steps to be done before this is a
      complete backup solution, such as the ability to stream
      the required WAL logs, but it's still usable, and
      could do with some buildfarm coverage.
      
      In passing, make the checkpoint request optionally
      fast instead of hardcoding it.
      
      Magnus Hagander, reviewed by Fujii Masao and Dimitri Fontaine
      048d148f
  11. 25 11月, 2010 1 次提交
  12. 21 9月, 2010 1 次提交
  13. 13 9月, 2010 1 次提交
  14. 12 9月, 2010 1 次提交
  15. 16 8月, 2010 1 次提交
  16. 07 6月, 2010 1 次提交
  17. 03 5月, 2010 1 次提交
  18. 30 4月, 2010 1 次提交
  19. 29 4月, 2010 1 次提交
    • H
      Introduce wal_level GUC to explicitly control if information needed for · 9b8a7332
      Heikki Linnakangas 提交于
      archival or hot standby should be WAL-logged, instead of deducing that from
      other options like archive_mode. This replaces recovery_connections GUC in
      the primary, where it now has no effect, but it's still used in the standby
      to enable/disable hot standby.
      
      Remove the WAL-logging of "unlogged operations", like creating an index
      without WAL-logging and fsyncing it at the end. Instead, we keep a copy of
      the wal_mode setting and the settings that affect how much shared memory a
      hot standby server needs to track master transactions (max_connections,
      max_prepared_xacts, max_locks_per_xact) in pg_control. Whenever the settings
      change, at server restart, write a WAL record noting the new settings and
      update pg_control. This allows us to notice the change in those settings in
      the standby at the right moment, they used to be included in checkpoint
      records, but that meant that a changed value was not reflected in the
      standby until the first checkpoint after the change.
      
      Bump PG_CONTROL_VERSION and XLOG_PAGE_MAGIC. Whack XLOG_PAGE_MAGIC back to
      the sequence it used to follow, before hot standby and subsequent patches
      changed it to 0x9003.
      9b8a7332
  20. 20 4月, 2010 1 次提交
    • R
      Update docs as to when WAL logging can be skipped. · ee7769bb
      Robert Haas 提交于
      In 8.4 and prior, WAL-logging could potentially be skipped whenever
      archive_mode=off.  With streaming replication, this is now true only
      if max_wal_senders=0.
      
      Fujii Masao, with light copyediting by me
      ee7769bb
  21. 13 4月, 2010 1 次提交
  22. 03 4月, 2010 1 次提交
    • P
      Remove unnecessary xref endterm attributes and title ids · 6dcce398
      Peter Eisentraut 提交于
      The endterm attribute is mainly useful when the toolchain does not support
      automatic link target text generation for a particular situation.  In  the
      past, this was required by the man page tools for all reference page links,
      but that is no longer the case, and it now actually gets in the way of
      proper automatic link text generation.  The only remaining use cases are
      currently xrefs to refsects.
      6dcce398
  23. 01 4月, 2010 5 次提交
  24. 23 2月, 2010 1 次提交
  25. 22 2月, 2010 1 次提交
  26. 19 2月, 2010 1 次提交
  27. 10 2月, 2010 1 次提交
  28. 04 2月, 2010 1 次提交
  29. 26 1月, 2010 1 次提交
  30. 24 1月, 2010 2 次提交
  31. 15 1月, 2010 1 次提交
    • H
      Introduce Streaming Replication. · 40f908bd
      Heikki Linnakangas 提交于
      This includes two new kinds of postmaster processes, walsenders and
      walreceiver. Walreceiver is responsible for connecting to the primary server
      and streaming WAL to disk, while walsender runs in the primary server and
      streams WAL from disk to the client.
      
      Documentation still needs work, but the basics are there. We will probably
      pull the replication section to a new chapter later on, as well as the
      sections describing file-based replication. But let's do that as a separate
      patch, so that it's easier to see what has been added/changed. This patch
      also adds a new section to the chapter about FE/BE protocol, documenting the
      protocol used by walsender/walreceivxer.
      
      Bump catalog version because of two new functions,
      pg_last_xlog_receive_location() and pg_last_xlog_replay_location(), for
      monitoring the progress of replication.
      
      Fujii Masao, with additional hacking by me
      40f908bd
  32. 12 1月, 2010 1 次提交
  33. 11 1月, 2010 1 次提交
  34. 20 12月, 2009 1 次提交