Minor improvements in backup and recovery:
commita14266760bd403abd38be499de1619a825e0438b
authortgl <tgl>
Wed, 26 Sep 2007 22:36:30 +0000 (26 22:36 +0000)
committertgl <tgl>
Wed, 26 Sep 2007 22:36:30 +0000 (26 22:36 +0000)
tree9f4680fe52f6f249a7a76d0c843c66813216ed45
parentccc25b4972d0d7e14eaee32fede6c0ebc1cee0f3
Minor improvements in backup and recovery:

- 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
12 files changed:
contrib/pg_standby/README.pg_standby
contrib/pg_standby/pg_standby.c
doc/src/sgml/backup.sgml
doc/src/sgml/config.sgml
doc/src/sgml/perform.sgml
doc/src/sgml/ref/show.sgml
src/backend/access/transam/xlog.c
src/backend/postmaster/pgarch.c
src/backend/postmaster/postmaster.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/access/xlog.h