Reduce open() calls. Replace fopen() calls with calls to fd.c functions.
Bruce Momjian <bruce@momjian.us>
Reduce open() calls. Replace fopen() calls with calls to fd.c functions.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/copy.c | modified | +6 −4 |
| src/backend/libpq/hba.c | modified | +8 −8 |
| src/backend/libpq/password.c | modified | +3 −2 |
| src/backend/optimizer/geqo/geqo_params.c | modified | +5 −3 |
| src/backend/parser/dbcommands.c | modified | +4 −3 |
| src/backend/storage/buffer/bufmgr.c | modified | +3 −3 |
| src/backend/storage/file/fd.c | modified | +26 −50 |
| src/backend/tcop/utility.c | modified | +4 −6 |
| src/backend/utils/adt/arrayfuncs.c | modified | +4 −3 |
| src/backend/utils/sort/psort.c | modified | +7 −15 |
| src/include/storage/fd.h | modified | +4 −9 |