mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Add large object finalization cleanup to the proper java file.
This commit is contained in:
parent
4dca29dd3c
commit
bf9e01d950
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user