• Magnus Hagander's avatar
    Use a lexer and grammar for parsing walsender commands · fcd810c6
    Magnus Hagander authored
    Makes it easier to parse mainly the BASE_BACKUP command
    with it's options, and avoids having to manually deal
    with quoted identifiers in the label (previously broken),
    and makes it easier to add new commands and options in
    the future.
    
    In passing, refactor the case statement in the walsender
    to put each command in it's own function.
    fcd810c6
replnodes.h 1.22 KB