Обсуждение: pgsql: Minor code cleanup: calling FreeFile() before ereport(ERROR) is

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

pgsql: Minor code cleanup: calling FreeFile() before ereport(ERROR) is

От
neilc@postgresql.org (Neil Conway)
Дата:
Log Message:
-----------
Minor code cleanup: calling FreeFile() before ereport(ERROR) is not
necessary, since files opened via AllocateFile() are closed automatically
as part of error recovery.

Modified Files:
--------------
    pgsql/src/backend/commands:
        copy.c (r1.284 -> r1.285)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/copy.c.diff?r1=1.284&r2=1.285)