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

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use AllocateFile(), FreeFile() and palloc() rather than fopen(),
Date: 2004-10-28 01:38:42
Message-ID: 20041028013842.EAAC63A3B91@svr1.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2004-10-28 08:54:10 pgsql: Translation updates
Previous Message Tom Lane 2004-10-28 00:39:59 pgsql: On Windows, force a checkpoint just before dropping a database's