• Heikki Linnakangas's avatar
    When xlogreader asks the callback function to read a page, make sure we · 88228e6f
    Heikki Linnakangas authored
    get a large enough part of the page to include the beginning of the next
    record we're interested in. The XLogPageRead callback uses the requested
    length to decide which timeline to stream WAL from, and if the first call
    is short, and the page contains a timeline switch, we'll repeatedly try
    to stream that page from the old timeline, and never get across the
    timeline switch.
    88228e6f
xlogreader.c 26.1 KB