• Robert Haas's avatar
    pg_upgrade: Improve error checking in rewriteVisibilityMap. · aba89430
    Robert Haas authored
    In the old logic, if read() were to return an error, we'd silently stop
    rewriting the visibility map at that point in the file.  That's safe,
    but reporting the error is better, so do that instead.
    
    Report by Andres Freund.  Patch by Masahiko Sawada, with one correction
    by me.
    aba89430
file.c 7.97 KB