Re: finalize in LargeObject

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: finalize in LargeObject
Дата
Msg-id 200106042010.f54KAkx07201@candle.pha.pa.us
обсуждение исходный текст
Ответ на finalize in LargeObject  (Philip Crotwell <crotwell@seis.sc.edu>)
Список pgsql-jdbc
I reviewed the jdbc discussion of this addition and it seems correct.
Comment added to describe purpose.

>
> 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Making the jar...
Следующее
От: "Paul Hart"
Дата:
Сообщение: Password authentication failure