Skip to content
Snippets Groups Projects
  • Tom Lane's avatar
    728ceba9
    Avoid leaking FDs after an fsync failure. · 728ceba9
    Tom Lane authored
    Fixes errors introduced in commit bc34223b, as detected by Coverity.
    
    In passing, report ENOSPC for a short write while padding a new wal file in
    open_walfile, make certain that close_walfile closes walfile in all cases,
    and improve a couple of comments.
    
    Michael Paquier and Tom Lane
    728ceba9
    History
    Avoid leaking FDs after an fsync failure.
    Tom Lane authored
    Fixes errors introduced in commit bc34223b, as detected by Coverity.
    
    In passing, report ENOSPC for a short write while padding a new wal file in
    open_walfile, make certain that close_walfile closes walfile in all cases,
    and improve a couple of comments.
    
    Michael Paquier and Tom Lane