postgresql/src/bin/pg_waldump
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
..
po Translation updates 2019-06-17 15:30:20 +02:00
t pg_waldump: Fix invalid option handling 2019-06-06 10:14:25 +02:00
.gitignore pg_waldump: Fix invalid option handling 2019-06-06 10:14:25 +02:00
compat.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
Makefile pg_waldump: Fix invalid option handling 2019-06-06 10:14:25 +02:00
nls.mk Unified logging system for command-line programs 2019-04-01 20:01:35 +02:00
pg_waldump.c Rework WAL-reading supporting structs 2019-09-24 16:39:53 -03:00
rmgrdesc.c Split index xlog headers from other private index headers. 2017-02-14 15:37:59 -05:00
rmgrdesc.h Fix assorted header files that failed to compile standalone. 2019-05-31 11:45:33 -04:00