diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-19 21:34:03 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-19 21:34:03 +0000 |
commit | 3f749924f82efd5b2f4b424f6c69a89a2959e4b3 (patch) | |
tree | 3bd4c6588dc45f0b88f394e0dee85f201f54d4d0 /src/backend/access/gist/gistutil.c | |
parent | e26b0abda3919448d5ccbcaac0415010022864b7 (diff) | |
download | postgresql-3f749924f82efd5b2f4b424f6c69a89a2959e4b3.tar.gz |
Simplify uses of readdir() by creating a function ReadDir() that
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.
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions