Skip to content
Snippets Groups Projects
  1. May 15, 2010
  2. May 12, 2010
  3. Feb 26, 2010
  4. Nov 04, 2009
  5. Jul 16, 2009
  6. Jun 25, 2009
  7. Jun 18, 2009
  8. Jun 11, 2009
  9. May 14, 2009
    • Heikki Linnakangas's avatar
      Add recovery_end_command option to recovery.conf. recovery_end_command · 9e403c25
      Heikki Linnakangas authored
      is run at the end of archive recovery, providing a chance to do external
      cleanup. Modify pg_standby so that it no longer removes the trigger file,
      that is to be done using the recovery_end_command now.
      
      Provide a "smart" failover mode in pg_standby, where we don't fail over
      immediately, but only after recovering all unapplied WAL from the archive.
      That gives you zero data loss assuming all WAL was archived before
      failover, which is what most users of pg_standby actually want.
      
      recovery_end_command by Simon Riggs, pg_standby changes by Fujii Masao and
      myself.
      9e403c25
  10. Mar 26, 2009
  11. Mar 18, 2009
  12. Feb 27, 2009
  13. Jan 06, 2009
  14. Dec 15, 2008
  15. Jul 08, 2008
  16. May 17, 2008
    • Andrew Dunstan's avatar
      Add $PostgreSQL$ markers to a lot of files that were missing them. · 53972b46
      Andrew Dunstan authored
      This particular batch was just for *.c and *.h file.
      
      The changes were made with the following 2 commands:
      
      find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o  \( -name '*.[ch]'  \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | while read file ; do head -n 1 < $file | grep -q '^/\*' && echo $file; done | xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL:$ \n *'
      
      find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o  \( -name '*.[ch]'  \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | xargs -l sed -i -e '1i/*\n * $PostgreSQL:$ \n */'
      53972b46
  17. May 09, 2008
    • Heikki Linnakangas's avatar
      Fix incorrect archive truncation point calculation in the %r recovery_command · f0eb3e5e
      Heikki Linnakangas authored
      parameter. This fixes bug 4137 reported by Wojciech Strzalka, where a WAL
      file is deleted too early when starting the recovery of a warm standby server.
      
      Also add a sanity check in pg_standby so that it will refuse to delete anything
      earlier than the file being restored, and improve the debug message in case
      nothing is deleted.
      
      Simon Riggs. Backpatch to 8.3, which is where %r was introduced.
      f0eb3e5e
  18. Nov 15, 2007
  19. Nov 11, 2007
  20. Sep 27, 2007
    • Tom Lane's avatar
      Minor improvements in backup and recovery: · f18dfc48
      Tom Lane authored
      - create a separate archive_mode GUC, on which archive_command is dependent
      
      - %r option in recovery.conf sends last restartpoint to recovery command
      
      - %r used in pg_standby, updated README
      
      - minor other code cleanup in pg_standby
      
      - doc on Warm Standby now mentions pg_standby and %r
      
      - log_restartpoints recovery option emits LOG message at each restartpoint
      
      - end of recovery now displays last transaction end time, as requested
        by Warren Little; also shown at each restartpoint
      
      - restart archiver if needed to carry away WAL files at shutdown
      
      Simon Riggs
      f18dfc48
  21. Jul 16, 2007
  22. Jun 27, 2007
  23. May 31, 2007
  24. May 22, 2007
  25. Mar 03, 2007
  26. Feb 10, 2007
  27. Feb 09, 2007
  28. Feb 08, 2007
    • Bruce Momjian's avatar
      Add /contrib/pg_standby: · 51be14e9
      Bruce Momjian authored
        pg_standby is a production-ready program that can be used to
        create a Warm Standby server. Other configuration is required
        as well, all of which is described in the main server manual.
      
      Simon Riggs
      51be14e9
Loading