COPY file descriptor leak

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема COPY file descriptor leak
Дата
Msg-id 199808291841.OAA11759@candle.pha.pa.us
обсуждение исходный текст
Список pgsql-hackers
If a COPY failed, the file was never closed.  The new code closes any
open file descriptors when copy is called after a failure.

I made the file descriptor 'static' and set a flag to remember if I
closed the one I used previously.


--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: new DEV FAQ item
Следующее
От: Bruce Momjian
Дата:
Сообщение: jdbc changes in 6.4