• Magnus Hagander's avatar
    Generate pg_basebackup temporary slot name using backend pid · 2712da8b
    Magnus Hagander authored
    Using the client pid can easily be non-unique when used on different
    hosts. Using the backend pid should be guaranteed unique, since the
    temporary slot gets removed when the client disconnects so it will be
    gone even if the pid is renewed.
    
    Reported by Ludovic Vaugeois-Pepin
    2712da8b
pg_basebackup.c 59.7 KB