• Fujii Masao's avatar
    Refactor pg_receivexlog main loop code, for readability. · 74cbe966
    Fujii Masao authored
    Previously the source codes for receiving the data and for
    polling the socket were included in pg_receivexlog main loop.
    This commit splits out them as separate functions. This is
    useful for improving the readability of main loop code and
    making the future pg_receivexlog-related patch simpler.
    74cbe966
receivelog.c 29.1 KB