Re: [PATCHES] COPY when 'filename' is a directory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] COPY when 'filename' is a directory
Дата
Msg-id 27929.1014516663@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: COPY when 'filename' is a directory  (Brent Verner <brent@rcfile.org>)
Ответы Re: [PATCHES] COPY when 'filename' is a directory  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-bugs
Brent Verner <brent@rcfile.org> writes:
> | This coding is WRONG.  You do not use fclose() to release a file
> | opened with AllocateFile.

>   s/fclose/FreeFile/

Actually, my recommendation is to remove it altogether.  The mechanisms
are in place to close allocated files after elog(), so why waste thought
and code space to release them manually?

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] COPY when 'filename' is a directory
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] COPY when 'filename' is a directory