- Notifications
You must be signed in to change notification settings - Fork5
Commit7fcbf6a
committed
Split out XLog reading as an independent facility
This new facility can not only be used by xlog.c to carry out crashrecovery, but also by external programs. By supplying a function toread XLog pages from somewhere, all the WAL reading can be used forcompletely different purposes.For the standard backend use, the behavior should be pretty much thesame as previously. As for non-backend programs, an hypotheticalpg_xlogdump program is now closer to reality, but some more backendsupport is still necessary.This patch was originally submitted by Andres Freund in a differentform, but Heikki Linnakangas opted for and authored another design ofthe concept. Andres has advanced the patch since Heikki's initialversion. Review and some (mostly cosmetics) changes by me.1 parent8606dd8 commit7fcbf6a
File tree
5 files changed
+1260
-704
lines changed- src
- backend
- access/transam
- include/access
5 files changed
+1260
-704
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
|
0 commit comments
Comments
(0)