• Andres Freund's avatar
    pg_rewind: Close backup_label file descriptor. · a6c84594
    Andres Freund authored
    This was a relatively harmless leak, as createBackupLabel() is only
    called once per pg_rewind invocation.
    
    Author: Michael Paquier
    Reported-By: Michael Paquier
    Discussion: CAB7nPqRnOw30gOXe2_SPLjh37bgm4V+txbYAPwoXb97nGQ297w@mail.gmail.com
    Backpatch: 9.5, where pg_rewind was introduced
    a6c84594
pg_rewind.c 18.2 KB