postgresql/src/interfaces
Bruce Momjian 49740c5fb9 Attached are patches for two fixes to reduce memory usage by the JDBC
drivers.

The first fix fixes the PreparedStatement object to not allocate
unnecessary objects when converting native types to Stings.  The old
code used the following format:
        (new Integer(x)).toString()
whereas this can more efficiently be occompilshed by:
        Integer.toString(x);
avoiding the unnecessary object creation.

The second fix is to release some resources on the close() of a
ResultSet.  Currently the close() method on ResultSet is a noop.  The
purpose of the close() method is to release resources when the ResultSet
is no longer needed.  The fix is to free the tuples cached by the
ResultSet when it is closed (by clearing out the Vector object that
stores the tuples).  This is important for my application, as I have a
cache of Statement objects that I reuse.  Since the Statement object
maintains a reference to the ResultSet and the ResultSet kept references
to the old tuples, my cache was holding on to a lot of memory.

Barry Lind
2000-12-28 23:56:46 +00:00
..
cli Cleanup of <> and "" 2000-05-29 21:25:07 +00:00
ecpg - Fixed bug in a connect statement using varchars. 2000-12-22 12:43:14 +00:00
jdbc Attached are patches for two fixes to reduce memory usage by the JDBC 2000-12-28 23:56:46 +00:00
libpgeasy Use $(filter ...), not $(findstring ...). 2000-10-31 14:37:25 +00:00
libpgtcl Ensure that all uses of <ctype.h> functions are applied to unsigned-char 2000-12-03 20:45:40 +00:00
libpq Fix PQsetdbLogin() backward compatibility problem. 2000-12-22 07:59:32 +00:00
libpq++ Polish shared library build to reduce number of special hacks. In 2000-10-23 21:44:12 +00:00
odbc Remove inclusions of <malloc.h>. 2000-12-19 17:52:27 +00:00
perl5 Ensure that all uses of <ctype.h> functions are applied to unsigned-char 2000-12-03 20:45:40 +00:00
python Update to PyGreSQL 3.1: 2000-11-10 22:29:21 +00:00
Makefile Revise Tcl/Tk configuration. Make missing Tcl after --with-tcl an error, 2000-09-25 22:23:01 +00:00