mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Add large object finalization cleanup to the proper java file.
This commit is contained in:
@ -89,6 +89,12 @@ public class LargeObject
|
|||||||
this.fd = fp.getInteger("lo_open",args);
|
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
|
* @return the OID of this LargeObject
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user