aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2019-09-24 16:08:31 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2019-09-24 16:39:53 -0300
commit709d003fbd98b975a4fbcb4c5750fa6efaf9ad87 (patch)
tree27b0ace3e968a4af0a9f2ee433627562e99e92ef /src/backend/access/gist
parenta9ae99d0190960ce2d3dd3e5f10e7f4adc3cf203 (diff)
downloadpostgresql-709d003fbd98b975a4fbcb4c5750fa6efaf9ad87.tar.gz
postgresql-709d003fbd98b975a4fbcb4c5750fa6efaf9ad87.zip
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
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions