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

Started by Nonameover 21 years ago1 messagescomitters
Jump to latest
#1Noname
neilc@svr1.postgresql.org

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)