-
- Downloads
Teach xlogreader to follow timeline switches
Uses page-based mechanism to ensure we’re using the correct timeline. Tests are included to exercise the functionality using a cold disk-level copy of the master that's started up as a replica with slots intact, but the intended use of the functionality is with later features. Craig Ringer, reviewed by Simon Riggs and Andres Freund
Showing
- src/backend/access/transam/xlogutils.c 201 additions, 14 deletionssrc/backend/access/transam/xlogutils.c
- src/backend/replication/logical/logicalfuncs.c 6 additions, 2 deletionssrc/backend/replication/logical/logicalfuncs.c
- src/backend/replication/walsender.c 7 additions, 4 deletionssrc/backend/replication/walsender.c
- src/include/access/xlogreader.h 16 additions, 0 deletionssrc/include/access/xlogreader.h
- src/include/access/xlogutils.h 3 additions, 0 deletionssrc/include/access/xlogutils.h
- src/test/recovery/Makefile 2 additions, 0 deletionssrc/test/recovery/Makefile
- src/test/recovery/t/010_logical_decoding_timelines.pl 130 additions, 0 deletionssrc/test/recovery/t/010_logical_decoding_timelines.pl
Loading
Please register or sign in to comment