• Magnus Hagander's avatar
    Fix pg_basebackup for keepalive messages · 6b020d22
    Magnus Hagander authored
    Teach pg_basebackup in streaming mode to deal with keepalive messages.
    Also change the order of checks to complain at the message rather than
    block size when a new message is introduced.
    
    In passing, switch to using sizeof() instead of hardcoded sizes for
    WAL protocol structs.
    6b020d22
receivelog.c 13.3 KB