Use AllocateFile(), FreeFile() and palloc() rather than fopen(), fclose()
authorNeil Conway <neilc@samurai.com>
Thu, 28 Oct 2004 01:38:41 +0000 (01:38 +0000)
committerNeil Conway <neilc@samurai.com>
Thu, 28 Oct 2004 01:38:41 +0000 (01:38 +0000)
commit6f1b3cf19ce4876f52fddfa9a82bb073e007479a
tree85084859df5f2eb0af80ca5ebbbcadb47e1721bb
parente6f9bf9b7fce69d491cefd388a5004448bd38073
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.
src/backend/postmaster/pgstat.c