Thread: pgsql: Use AllocateFile(), FreeFile() and palloc() rather than fopen(),

pgsql: Use AllocateFile(), FreeFile() and palloc() rather than fopen(),

From
neilc@svr1.postgresql.org (Neil Conway)
Date:
Log Message:
-----------
Use AllocateFile(), FreeFile() and palloc() rather than fopen(), fclose()
and malloc() in pgstat.c, respectively. This simplifies error recovery,
as well as being more consistent with the rest of the backend.

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        pgstat.c (r1.83 -> r1.84)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/pgstat.c.diff?r1=1.83&r2=1.84)