Re: finalize in LargeObject

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: finalize in LargeObject
Дата
в 23:50:56
Msg-id
200105160350.f4G3ofU27752@candle.pha.pa.us
Ответ на
finalize in LargeObject (Philip Crotwell)
Список
Дерево обсуждения
finalize in LargeObject Philip Crotwell <crotwell@seis.sc.edu>
Re: finalize in LargeObject Bruce Momjian <pgman@candle.pha.pa.us>
Re: finalize in LargeObject Bruce Momjian <pgman@candle.pha.pa.us>

Can someone comment on this please?

> 
> Hi
> 
> Shouldn't there be a 
> 
> protected void finalize() {
> 	close();
> }
> 
> in LargeObject.java so that the db resources are released when it is
> garbage collected or am I missing something?
> 
> thanks,
> Philip
> 
> 
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
В списке pgsql-jdbc по дате отправления
От: Bruce Momjian
Дата:
От: Dickson, John
Дата:
Сообщение: RE: finalize in LargeObject
FAQ