Add support for forcing a switch to a new xlog file; cause such a switch
Tom Lane <tgl@sss.pgh.pa.us>
Add support for forcing a switch to a new xlog file; cause such a switch to happen automatically during pg_stop_backup(). Add some functions for interrogating the current xlog insertion point and for easily extracting WAL filenames from the hex WAL locations displayed by pg_stop_backup and friends. Simon Riggs with some editorialization by Tom Lane.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/backup.sgml | modified | +14 −6 |
| doc/src/sgml/func.sgml | modified | +91 −8 |
| src/backend/access/transam/xlog.c | modified | +393 −48 |
| src/include/access/xlog_internal.h | modified | +5 −1 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_control.h | modified | +2 −1 |
| src/include/catalog/pg_proc.h | modified | +9 −1 |