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-05-16 03:50:41
Message-ID: 200105160350.f4G3ofU27752@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(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 Joe Shevland 2001-05-16 03:55:49 RE: finalize in LargeObject
Previous Message Bruce Momjian 2001-05-16 03:49:32 Re: DatabaseMetaData.getTables() doesn't sort its result