• Tom Lane's avatar
    Simplify uses of readdir() by creating a function ReadDir() that · 3f749924
    Tom Lane authored
    includes error checking and an appropriate ereport(ERROR) message.
    This gets rid of rather tedious and error-prone manipulation of errno,
    as well as a Windows-specific bug workaround, at more than a dozen
    call sites.  After an idea in a recent patch by Heikki Linnakangas.
    3f749924
twophase.c 47.9 KB