Re: finalize in LargeObject - Mailing list pgsql-jdbc

From Bruce Momjian
Subject Re: finalize in LargeObject
Date
Msg-id 200105160350.f4G3ofU27752@candle.pha.pa.us
Whole thread Raw
In response to finalize in LargeObject  (Philip Crotwell <crotwell@seis.sc.edu>)
List pgsql-jdbc
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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: DatabaseMetaData.getTables() doesn't sort its result
Next
From: "Dickson, John"
Date:
Subject: RE: finalize in LargeObject