• Peter Eisentraut's avatar
    Reorganize logical replication worker disconnect code · 6812330f
    Peter Eisentraut authored
    Move the walrcv_disconnect() calls into the before_shmem_exit handler.
    This makes sure the call is always made even during exit by signal, it
    saves some duplicate code, and it makes the logic more similar to
    walreceiver.c.
    
    Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>
    6812330f
launcher.c 24.7 KB