Minor improvements in backup and recovery:
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_standby/pg_standby.c | modified | +105 −57 |
| contrib/pg_standby/README.pg_standby | modified | +55 −13 |
| doc/src/sgml/backup.sgml | modified | +53 −10 |
| doc/src/sgml/config.sgml | modified | +26 −4 |
| doc/src/sgml/perform.sgml | modified | +11 −9 |
| doc/src/sgml/ref/show.sgml | modified | +2 −2 |
| src/backend/access/transam/xlog.c | modified | +59 −10 |
| src/backend/postmaster/pgarch.c | modified | +9 −3 |
| src/backend/postmaster/postmaster.c | modified | +8 −4 |
| src/backend/utils/misc/guc.c | modified | +22 −4 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +2 −0 |
| src/include/access/xlog.h | modified | +4 −2 |