Re: finalize in LargeObject

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Philip Crotwell <crotwell(at)seis(dot)sc(dot)edu>
Cc: PostgreSQL jdbc list <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: finalize in LargeObject
Date: 2001-06-04 20:10:46
Message-ID: 200106042010.f54KAkx07201@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org)
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Paul Hart 2001-06-05 15:32:27 Password authentication failure
Previous Message Peter Eisentraut 2001-06-02 01:31:25 Re: Making the jar...