Split off functions related to timeline history files and XLOG archiving.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Split off functions related to timeline history files and XLOG archiving. This is just refactoring, to make the functions accessible outside xlog.c. A followup patch will make use of that, to allow fetching timeline history files over streaming replication.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/Makefile | modified | +2 −1 |
| src/backend/access/transam/timeline.c | added | +378 −0 |
| src/backend/access/transam/xlogarchive.c | added | +572 −0 |
| src/backend/access/transam/xlog.c | modified | +60 −928 |
| src/include/access/timeline.h | added | +23 −0 |
| src/include/access/xlog_internal.h | modified | +23 −0 |