Обсуждение: pgsql: Use AllocateFile(), FreeFile() and palloc() rather than fopen(),

Поиск
Список
Период
Сортировка

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

От
neilc@svr1.postgresql.org (Neil Conway)
Дата:
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)