[COMMITTERS] pgsql: Fix sloppy handling of corner-case errors in fd.c.

2017-02-21 Thread Tom Lane
Fix sloppy handling of corner-case errors in fd.c. Several places in fd.c had badly-thought-through handling of error returns from lseek() and close(). The fact that those would seldom fail on valid FDs is probably the reason we've not noticed this up to now; but if they did fail, we'd get quite

[COMMITTERS] pgsql: Fix sloppy handling of corner-case errors in fd.c.

2017-02-21 Thread Tom Lane
Fix sloppy handling of corner-case errors in fd.c. Several places in fd.c had badly-thought-through handling of error returns from lseek() and close(). The fact that those would seldom fail on valid FDs is probably the reason we've not noticed this up to now; but if they did fail, we'd get quite

[COMMITTERS] pgsql: Fix sloppy handling of corner-case errors in fd.c.

2017-02-21 Thread Tom Lane
Fix sloppy handling of corner-case errors in fd.c. Several places in fd.c had badly-thought-through handling of error returns from lseek() and close(). The fact that those would seldom fail on valid FDs is probably the reason we've not noticed this up to now; but if they did fail, we'd get quite

[COMMITTERS] pgsql: Fix sloppy handling of corner-case errors in fd.c.

2017-02-21 Thread Tom Lane
Fix sloppy handling of corner-case errors in fd.c. Several places in fd.c had badly-thought-through handling of error returns from lseek() and close(). The fact that those would seldom fail on valid FDs is probably the reason we've not noticed this up to now; but if they did fail, we'd get quite

[COMMITTERS] pgsql: Fix sloppy handling of corner-case errors in fd.c.

2017-02-21 Thread Tom Lane
Fix sloppy handling of corner-case errors in fd.c. Several places in fd.c had badly-thought-through handling of error returns from lseek() and close(). The fact that those would seldom fail on valid FDs is probably the reason we've not noticed this up to now; but if they did fail, we'd get quite

[COMMITTERS] pgsql: Fix sloppy handling of corner-case errors in fd.c.

2017-02-21 Thread Tom Lane
Fix sloppy handling of corner-case errors in fd.c. Several places in fd.c had badly-thought-through handling of error returns from lseek() and close(). The fact that those would seldom fail on valid FDs is probably the reason we've not noticed this up to now; but if they did fail, we'd get quite