Commit bf9e01d9 authored by Bruce Momjian's avatar Bruce Momjian

Add large object finalization cleanup to the proper java file.

parent 4dca29dd
......@@ -89,6 +89,12 @@ public class LargeObject
this.fd = fp.getInteger("lo_open",args);
}
/* Release large object resources during garbage cleanup */
protected void finalize() throws SQLException
{
close();
}
/**
* @return the OID of this LargeObject
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment