Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

Next:From: Joe ShevlandDate: 2001-05-16 03:55:49
Subject: RE: finalize in LargeObject
Previous:From: Bruce MomjianDate: 2001-05-16 03:49:32
Subject: Re: DatabaseMetaData.getTables() doesn't sort its result

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group