• Simon Riggs's avatar
    Refactor to create generic WAL page read callback · 422a55a6
    Simon Riggs authored
    Previously we didn’t have a generic WAL page read callback function,
    surprisingly. Logical decoding has logical_read_local_xlog_page(), which was
    actually generic, so move that to xlogfunc.c and rename to
    read_local_xlog_page().
    Maintain logical_read_local_xlog_page() so existing callers still work.
    
    As requested by Michael Paquier, Alvaro Herrera and Andres Freund
    422a55a6
xlogutils.h 1.74 KB