postgresql/src/include/replication
Alvaro Herrera 709d003fbd Rework WAL-reading supporting structs
The state-tracking of WAL reading in various places was pretty messy,
mostly because the ancient physical-replication WAL reading code wasn't
using the XLogReader abstraction.  This led to some untidy code.  Make
it prettier by creating two additional supporting structs,
WALSegmentContext and WALOpenSegment which keep track of WAL-reading
state.  This makes code cleaner, as well as supports more future
cleanup.

Author: Antonin Houska
Reviewed-by: Álvaro Herrera and (older versions) Robert Haas
Discussion: https://postgr.es/m/14984.1554998742@spoje.net
2019-09-24 16:39:53 -03:00
..
basebackup.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
decode.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
logical.h Remove superfluous newlines in function prototypes. 2019-07-31 00:05:21 -07:00
logicalfuncs.h Rework WAL-reading supporting structs 2019-09-24 16:39:53 -03:00
logicallauncher.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
logicalproto.h Fix inconsistencies and typos in the tree 2019-07-29 12:28:30 +09:00
logicalrelation.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
logicalworker.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
message.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
origin.h Remove fmgr.h includes from headers that don't really need it. 2019-08-16 10:35:31 -07:00
output_plugin.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
pgoutput.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
reorderbuffer.h Remove superfluous newlines in function prototypes. 2019-07-31 00:05:21 -07:00
slot.h Remove fmgr.h includes from headers that don't really need it. 2019-08-16 10:35:31 -07:00
snapbuild.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
syncrep.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
walreceiver.h Fix inconsistencies and typos in the tree, take 11 2019-08-19 16:21:39 +09:00
walsender.h Remove fmgr.h includes from headers that don't really need it. 2019-08-16 10:35:31 -07:00
walsender_private.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
worker_internal.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00